Amazing technological breakthrough possible @S-Logix pro@slogix.in

Office Address

  • #5, First Floor, 4th Street Dr. Subbarayan Nagar Kodambakkam, Chennai-600 024 Landmark : Samiyar Madam
  • pro@slogix.in
  • +91- 81240 01111

Social List

How to execute java application in Spark?

  • Compile the SampleProgram.java using Maven build tool.
  • It generates Projectname-1.0-SNAPSHOT.jar in target directory of the project.
  • Execute the generated jar as follows in terminal
  • $./SPARK_HOME_DIR/bin/spark-submit –class “SampleProgram” Projectname-1.0-SNAPSHOT.jar