Hello Friends:

I was temporarily using a manual build of Spark v1.1.0, until Cloudera CDH5
RPMs were updated to that latest version. So now I'm back to using the
CDH5.2 Spark v1.1.0 distribution.

That was just a preamble note for completeness. :)

Now when I go to start the master as follows, it doesn't start, and the
log file indicates that SCALA_HOME is not set. Here:

==========================================================
root@vps00# echo $SPARK_HOME
/usr/lib/spark

root@vps00# echo $SCALA_HOME
/home/user/APPS.d/SCALA.d/latest  <-- this of course exists.

root@vps00# service spark-master start
Starting Spark master (spark-master):  [  OK  ]

root@vps00# jps
1684 Jps

root@vps00# cat /var/log/spark/spark-master.out
SCALA_HOME is not set
=========================================================


I tried both variations of '/etc/spark/conf/spark-env.sh' to set SCALA_HOME
(meaning, near the bottom of that file where it says uncomment this and
comment
that); as well as simply hard-coding 'export
SCALA_HOME=/home/user/APPS.d/SCALA.d/latest'
in that file's second to last line. Same error.


SIDE NOTE: Although this is not the correct way to do it (because things
don't
get set up properly and will cause other problems), this works to start it:

root@vps00# /etc/init.d/spark-master start  <--- old school way.
root@vps00# jps
2085 Jps
2013 Master

But again, doing it that way will miss sourcing some configuration files and
lead to other issues.


Does anyone know what might be wrong?

Thank you
nmv




--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/Starting-Spark-Master-on-CDH5-2-Spark-v1-1-0-fails-Indication-is-SCALA-HOME-is-not-set-tp18198.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org

Reply via email to