simplesparkapp icon indicating copy to clipboard operation
simplesparkapp copied to clipboard

How to run java main and scala main

Open Pallavim54 opened this issue 11 years ago • 1 comments

From where i need to run this command spark-submit --class com.cloudera.sparkwordcount.SparkWordCount --master local
target/sparkwordcount-0.0.1-SNAPSHOT.jar 2

Do I able to ran java example also with above command?

Pallavim54 avatar Jul 31 '14 11:07 Pallavim54

JavaWordCount can't compile well, it should replace tup._2 with tup._2() ,the same as other tuple.

bingyupj avatar Aug 12 '14 10:08 bingyupj