Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Where is $SPARK_HOME ?

avatar
New Contributor

I want to execute "./sbin/start-master.sh", but I'm unable to locate this file in the /sbin folder. I wanted to find the file using echo $SPARK_HOME but the result is empty. I'm on HDP 2.4.

That leads to the question: Where is Spark?

1 ACCEPTED SOLUTION

avatar
Super Collaborator

Normally it's under /usr/hdp/current/spark-client

View solution in original post

4 REPLIES 4

avatar
Super Collaborator

Normally it's under /usr/hdp/current/spark-client

avatar
Super Collaborator

Sorry, too quick on the trigger.

Normally SPARK_HOME=/usr/hdp/current/spark-client

In my (old) sandbox the start_master.sh script is located at /usr/hdp/2.4.0.0-169/spark/sbin/start-master.sh.

avatar
New Contributor

Sometimes asking the question is half the answer:

find . -name start-master.sh

gave

./usr/hdp/2.4.0.0-169/spark/sbin/start-master.sh

avatar

You need to go where your Spark client is installed. Depending of your install/OS, it may be :

/usr/hdp/current/spark-client/sbin

Hope this helps.