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.

Error while executing spark-shell command

Error while executing spark-shell command

New Contributor

Hi,

 

Showing exception while executing spark-shell command

Kindly do help to resolve the issue

 

 

Spark-shell error.png

1 REPLY 1
Highlighted

Re: Error while executing spark-shell command

Champion

To include maven dependecies follow the below syntax 

 

./bin/spark-shell --master  --packages "org.example:examples:0.1"

 

Reference 

http://spark.apache.org/docs/latest/rdd-programming-guide.html#using-the-shell

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