Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run java main and scala main #2

Open
Pallavim54 opened this issue Jul 31, 2014 · 1 comment
Open

How to run java main and scala main #2

Pallavim54 opened this issue Jul 31, 2014 · 1 comment

Comments

@Pallavim54
Copy link

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?

@bingyupj
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants