Skip to content

Bonus Chapter B11: Cartesian Product

Run the commands from the repository folder after building the jar (Running the programs).

Spark (Java)

chapB11.cartesian.spark.TestCartesian

Source: TestCartesian.java

scripts/run_spark.sh org.dataalgorithms.chapB11.cartesian.spark.TestCartesian
  • Writes to output/ in the current directory; delete it first if it exists: rm -r output