Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

how to submit a scala job in sandbox 2.5 Envrionment

how to submit a scala job in sandbox 2.5 Envrionment

New Contributor

Instead of running the spark command in the scala shell how can we run the job(coded in scala language) in the hortonworks sandbox 2.5 environment?

1 REPLY 1
Highlighted

Re: how to submit a scala job in sandbox 2.5 Envrionment

Mentor
@haitao yu

you need to compile your Spark Scala job into a jar and use spark-submit command, please view examples here

https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.0/bk_spark-component-guide/content/run-sample...

Don't have an account?
Coming from Hortonworks? Activate your account here