simplesparkapp
simplesparkapp copied to clipboard
How to run java main and scala main
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?
JavaWordCount can't compile well, it should replace tup._2 with tup._2() ,the same as other tuple.