按照链接中的气泡水步骤进行操作http://h2o-release.s3.amazonaws.com/sparkling-water/rel-2.2/0/index.html 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”
请将 SPARK_HOME 变量设置为您的 Spark 安装
您应该安装并设置 SPARK_HOME 变量,在 unix 终端中运行以下代码来设置该变量:
export SPARK_HOME="/path/to/spark"
要维护此配置,您应该将其附加到 .bashrc 的末尾。
安装请看这个https://www.tutorialspoint.com/apache_spark/apache_spark_installation.htm https://www.tutorialspoint.com/apache_spark/apache_spark_installation.htm
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)