Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Where is $SPARK_HOME ?

avatar

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

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.