You can do *which java* command and see where exactly is your java being
installed and export it as the JAVA_HOME.
[image: Inline image 1]
Thanks
Best Regards
On Mon, Oct 27, 2014 at 7:56 PM, Thomas Risberg wrote:
> Hi,
>
> I'm trying to run the SparkPi example using `--deploy-mode cluster`. N
Hi,
I'm trying to run the SparkPi example using `--deploy-mode cluster`. Not
having much luck. Looks like the JAVA_HOME on my Mac is used for launching
the app on the Spark cluster running on CentOS. How can I set the JAVA_HOME
or better yet, how can I configure Spark to use the JAVA_HOME configur