File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,8 +16,6 @@ Instructions for how to build and run examples are in [README.md](chapter2/READM
1616Instructions for how to build and run examples are in [ README.md] ( chapter3/README.md )
1717### Chapter 4
1818Instructions 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
2220Instructions for how to build and run examples are in [ README.md] ( chapter6/README.md )
2321### Chapter 7
Original file line number Diff line number Diff line change 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
56Have Fun
67Cheers!
Original file line number Diff line number Diff line change 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
36Have Fun
47Cheers!
Original file line number Diff line number Diff line change 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
106Have Fun
117Cheers!
Original file line number Diff line number Diff line change 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
73To 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
1310Have Fun
1411Cheers!
15- ~
Original file line number Diff line number Diff line change 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!
Original file line number Diff line number Diff line change 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!
Original file line number Diff line number Diff line change 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+ --
You can’t perform that action at this time.
0 commit comments