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. Want to know more about what has changed? Check out the Community News blog.

Launch Spark Job in a cloudera VirtualVox from my local in eclipse

Highlighted

Launch Spark Job in a cloudera VirtualVox from my local in eclipse

New Contributor

Dear all, 

 

I am trying to launch an spark job in scala from my local eclipse, and I want it to run in my "quickstart" cloudera image running in a virtualvox in my laptop. 

 

For that I try to do something like this:

 

val sparkConf = new SparkConf().setAppName("Testing hive").setMaster("spark://quickstart.cloudera:7077")
val sc: SparkContext = new SparkContext(sparkConf)

 

But I can not connect to the cloudera spark:

 

java.io.IOException: Failed to connect to quickstart.cloudera/192.168.56.101:7077

 

The Ip address is correct, nothing is listening on that port, but I can not find the port that I need..., could anyone help me please?

 

Thank you very much,