在jupyther里面执行sc = SparkContext(conf=conf),出现:
Spark submit fails: No such file or directory: '/opt/spark/python/pyspark/./bin/spark-submit'
解决办法:
os.environ['SPARK_HOME'] = '/export/servre/spark'
填写集群的spark安装地址
在jupyther里面执行sc = SparkContext(conf=conf),出现:
Spark submit fails: No such file or directory: '/opt/spark/python/pyspark/./bin/spark-submit'
解决办法:
os.environ['SPARK_HOME'] = '/export/servre/spark'
填写集群的spark安装地址
Copyright © 2016-2020 www.365daan.com All Rights Reserved. 365答案网 版权所有 备案号:
部分内容来自互联网,版权归原作者所有,如有冒犯请联系我们,我们将在三个工作时内妥善处理。