bin/pyspark出错,求助高手
输入bin/pyspark出现如下错误:Python2.7.8(default,Oct202014,15:05:29)[GCC4.9.1]onlinux2Type"hel...
输入bin/pyspark 出现如下错误:
Python 2.7.8 (default, Oct 20 2014, 15:05:29)
[GCC 4.9.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Traceback (most recent call last):
File "/home/dr-guo/spark-1.2.0-bin-hadoop2.4/python/pyspark/shell.py", line 45, in <module>
sc = SparkContext(appName="PySparkShell", pyFiles=add_files)
File "/home/dr-guo/spark-1.2.0-bin-hadoop2.4/python/pyspark/context.py", line 102, in __init__
SparkContext._ensure_initialized(self, gateway=gateway)
File "/home/dr-guo/spark-1.2.0-bin-hadoop2.4/python/pyspark/context.py", line 211, in _ensure_initialized
SparkContext._gateway = gateway or launch_gateway()
File "/home/dr-guo/spark-1.2.0-bin-hadoop2.4/python/pyspark/java_gateway.py", line 50, in launch_gateway
proc = Popen(command, stdout=PIPE, stdin=PIPE, preexec_fn=preexec_func, env=env)
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 13] Permission denied
已经给了这几个文件rwx root权限,还是始终报上述错误,求助高手!谢谢! 展开
Python 2.7.8 (default, Oct 20 2014, 15:05:29)
[GCC 4.9.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Traceback (most recent call last):
File "/home/dr-guo/spark-1.2.0-bin-hadoop2.4/python/pyspark/shell.py", line 45, in <module>
sc = SparkContext(appName="PySparkShell", pyFiles=add_files)
File "/home/dr-guo/spark-1.2.0-bin-hadoop2.4/python/pyspark/context.py", line 102, in __init__
SparkContext._ensure_initialized(self, gateway=gateway)
File "/home/dr-guo/spark-1.2.0-bin-hadoop2.4/python/pyspark/context.py", line 211, in _ensure_initialized
SparkContext._gateway = gateway or launch_gateway()
File "/home/dr-guo/spark-1.2.0-bin-hadoop2.4/python/pyspark/java_gateway.py", line 50, in launch_gateway
proc = Popen(command, stdout=PIPE, stdin=PIPE, preexec_fn=preexec_func, env=env)
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 13] Permission denied
已经给了这几个文件rwx root权限,还是始终报上述错误,求助高手!谢谢! 展开
2016-07-21
展开全部
你可以把k文件发到我邮箱,我帮你看下,jx126zhouyou@126.com,看错误代码还是很难知道问题的
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询