Skip to content

Commit 22aebb1

Browse files
committed
corrected to erroneous README files and typos
1 parent 2baf9ba commit 22aebb1

8 files changed

Lines changed: 43 additions & 28 deletions

File tree

‎README.md‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ Instructions for how to build and run examples are in [README.md](chapter2/READM
1616
Instructions for how to build and run examples are in [README.md](chapter3/README.md)
1717
### Chapter 4
1818
Instructions for how to build and run examples are in [README.md](chapter4/README.md)
19-
### Chapter 5
20-
Instructions for how to build and run examples are in [README.md](chapter5/README.md)
2119
### Chapter 6
2220
Instructions for how to build and run examples are in [README.md](chapter6/README.md)
2321
### Chapter 7

‎chapter2/README.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
This directory contains all the Scala examples for Chapter 2. Along with the code to generate the M&Ms data set.
1+
This directory contains all the Scala and Python examples for Chapter 2. Along with the code to generate the M&Ms data set.
22

3-
The equivalent code for Scala is in the scala directory, along instructions how to build the jar.
3+
To use build and run thes examples cd in respective Scala and Python directory and follow simple
4+
intructions in relevant README.md files.
45

56
Have Fun
67
Cheers!

‎chapter3/README.md‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
This directory contains all the Scala and Python examples for chapter 3.
1+
This directory contains all the Scala and Python examples for Chapter 3.
2+
3+
To use build and run thes examples cd in respective scala and py/src directory and follow simple
4+
intructions in relevant README.md files
25

36
Have Fun
47
Cheers!

‎chapter4/README.md‎

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
1-
This directory contains all the Scala and Python examples for chapter 4.
1+
This directory contains all the Scala and Python examples for Chapter 4.
22

3-
To run Scala code for this chapter use:
4-
5-
* `spark-submit --class main.scala.chapter4.Example4_1 jars/main-scala-chapter4_2.11-1.0.jar <args>`
6-
* `spark-submit --class main.scala.chapter4.SparkTables jars/main-scala-chapter4_2.11-1.0.jar <args>`
7-
8-
The equivalent code for Scala is in the scala directory, along instructions how to build jar
3+
To use build and run thes examples cd in respective scala and py/src directory and follow simple
4+
intructions in relevant README.md files
95

106
Have Fun
117
Cheers!

‎chapter4/scala/README.md‎

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
1-
### How to build the package
2-
1. sbt clean package
3-
2. mkdir jars
4-
3. cp main-scala-chapter4_2.12-1.0.jar from the target/ directory into the jars/
1+
This directory contains all the Scala and Python examples for chapter 4.
52

6-
### How to run the example
73
To run Scala code for this chapter use:
84

9-
* `spark-submit --class main.scala.chapter8.8_3_MapAndMapPartition jars/main-scala-chapter8_2.12-1.0.jar`
5+
* `spark-submit --class main.scala.chapter4.Example4_1 jars/main-scala-chapter4_2.11-1.0.jar <args>`
6+
* `spark-submit --class main.scala.chapter4.SparkTables jars/main-scala-chapter4_2.11-1.0.jar <args>`
107

11-
The equivalent code for Python is in the python directory, along instructions how to run it.
8+
The equivalent code for Scala is in the scala directory, along instructions how to build jar
129

1310
Have Fun
1411
Cheers!
15-
~

‎chapter6/README.md‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
This directory contains all the Java examples for chapter 6.
1+
This directory contains all the Java examples and notebooks for Chapter 6.
22

3-
To build the java jars, cd to java directory and follow the [README.md](java/README.md) instructions
3+
To use build and run thes examples cd in respective java directory and follow simple
4+
intructions in relevant README.md files
45

5-
Have Fun!
6-
Cheers
6+
Have Fun
7+
Cheers!

‎chapter7/README.md‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
This directory contains all the Java examples for chapter 7.
1+
This directory contains all the Scala examples for Chapter 7.
22

3-
To build the java jars, cd to java directory and follow the [README.md](scala/README.md) instructions
3+
To use build and run thes examples cd in respective scala and follow simple
4+
intructions in relevant README.md files
45

5-
Have Fun!
6-
Cheers
6+
Have Fun
7+
Cheers!

‎notebooks/README.md‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Learning Spark 2nd Edition
2+
GitHub repo for the "Learning Spark 2nd Edition" code notebooks.
3+
4+
5+
If you are using Databricks to run the notebook, you can import a LearninSparkv2.dbc file containing all of the notebooks for
6+
relevant chapters from the folder.
7+
8+
Sign up for a free [Databricks Community Edition](https://www.databricks.com/try-databrick) account for free.
9+
10+
Follow this instructions to import notebook after signing into the Databricks Community Edition
11+
12+
* Step 1:
13+
* Step 2:
14+
* Step 3:
15+
16+
Cheers,
17+
18+
Have Fun!
19+
--

0 commit comments

Comments
 (0)