300 Questions for OREILLY DataBricks Apache Spark Developer Certification + 5 Page Revision notes

Question 10 : You have created a Jar for the word count application, code written in Java. Which of the below is a correct command to submit the Job in spark.

Your jar name is hadoopexam-0.0.1.jar and main class is com.hadoopexam.WordCount, which require two input filename and output directory. 

1.    $SPARK_HOME/bin/spark --class com.hadoopexam.WordCount \

./target/hadoopexam-0.0.1.jar ./README.md ./wordcounts 

2.    $SPARK_HOME/bin/submit --class com.hadoopexam.WordCount \

./target/hadoopexam-0.0.1.jar ./README.md ./wordcounts 

3.    $SPARK_HOME/bin/spark-submit --class com.hadoopexam.WordCount \

./target/hadoopexam-0.0.1.jar ./README.md ./wordcounts

4.    $SPARK_HOME/bin/spark-submit com.hadoopexam.WordCount \

./target/hadoopexam-0.0.1.jar ./README.md ./wordcounts

 

Correct Answer  : 3 Exp : Correct command for Java

$SPARK_HOME/bin/spark-submit --class com.hadoopexam.WordCount \

./target/hadoopexam-0.0.1.jar ./README.md ./wordcounts

 

Correct command for scala

$SPARK_HOME/bin/spark-submit --class com.hadoopexam.WordCount \

./target/scala-2.10/hadoopexam-0.0.1.jar ./README.md ./wordcounts

Apache Spark Training & Certifications:  Apache Spark is new and fastest data processing engine for Big Data world, after Hadoop it’s becoming more popular in Industry (recently demand increased a lot). Now using power of Hadoop and Spark. Hence, data processing speed has dramatically increased. So if you wish to work in/with Big Data then Learning Spark is a must even for becoming data scientist., HadoopExam Learning Resources launched low cost material for in depth learning of Spark in the form of Spark Professional Training with Hands on practice sessions and helping you to get certified with most popular Apache Spark Certification conducted by Oreilly and Databricks only. So without delaying start preparing or prove your skills of Apache Spark, subscribe to our trainings and certification material with special discount of unbeatable price. You can request free updates as well, whenever it is done.

Spark Professional Training      Oreilly Databricks Spark Certification     Hortonworks HDPCD Spark Certification     Cloudera CCA175 Hadoop and Spark Developer Certifications

 

  1. Apache Spark Professional Training with Hands On Lab Sessions 
  2. Oreilly Databricks Apache Spark Developer Certification Simulator
  3. Hortonworks Spark Developer Certification 
  4. Cloudera CCA175 Hadoop and Spark Developer Certification