Skip to content
Snippets Groups Projects
Commit 9d380256 authored by Peter J. Keleher's avatar Peter J. Keleher
Browse files

auto

parent 0e319f8f
Branches main
No related tags found
No related merge requests found
......@@ -103,7 +103,7 @@ the number of times each word appears in the file `Dockerfile`. Use
`>>> counts = textFile.flatMap(lambda line: line.split(" ")).map(lambda word:
(word, 1)).reduceByKey(lambda a, b: a + b)`
In more detail:
In more detail, from the docker container created as above:
```
root@d36910b1feb0:/assign9# $SPARKHOME/bin/pyspark
Python 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0] on linux
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment