From 9d380256edcb3068f15f5b202e6922e155b039e8 Mon Sep 17 00:00:00 2001 From: "Peter J. Keleher" <keleher@cs.umd.edu> Date: Sat, 2 Dec 2023 07:48:19 -0500 Subject: [PATCH] auto --- assign9.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assign9.md b/assign9.md index 6980a35..c026ef8 100644 --- a/assign9.md +++ b/assign9.md @@ -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 -- GitLab