如何设置SPARK_HOME变量? [英] How to Setup SPARK_HOME variable?
问题描述
从链接 http://h2o-release.s3.amazonaws.com/sparkling-water/rel-2.2/0/index.html .
在终端中运行:
〜/InstallFile/SparklingWater/sparkling-water-2.2.0 $ bin/sparkling-shell --conf"spark.executor.memory = 1g"
~/InstallFile/SparklingWater/sparkling-water-2.2.0$ bin/sparkling-shell --conf "spark.executor.memory=1g"
请为您的Spark安装设置SPARK_HOME变量
Please setup SPARK_HOME variable to your Spark installation
推荐答案
您应该安装并设置SPARK_HOME变量,在unix终端中,运行以下代码来设置变量:
You should install and set the SPARK_HOME variable, in unix terminal run the following code to set the variable:
export SPARK_HOME="/path/to/spark"
要保持此配置,您应该将此配置附加到.bashrc的末尾.
To maintain this config you should append this to the end of your .bashrc.
有关安装的信息,请参见 https://www.tutorialspoint.com/apache_spark/apache_spark_installation.htm
See this for installation https://www.tutorialspoint.com/apache_spark/apache_spark_installation.htm
这篇关于如何设置SPARK_HOME变量?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!