为了账号安全,请及时绑定邮箱和手机立即绑定

安装失败请教

请教一下:我通过window下载的包,上传到Linux上,解压后,执行spark-shell命令 报

Using Spark's default log4j profile: org/apache/spark/log4j-defaults.properties
Setting default log level to "WARN".
To adjust logging level use sc.setLogLevel(newLevel).
[INFO] Unable to bind key for unsupported operation: backward-delete-word
[INFO] Unable to bind key for unsupported operation: backward-delete-word
[INFO] Unable to bind key for unsupported operation: down-history
[INFO] Unable to bind key for unsupported operation: up-history
[INFO] Unable to bind key for unsupported operation: up-history
[INFO] Unable to bind key for unsupported operation: down-history
[INFO] Unable to bind key for unsupported operation: up-history
[INFO] Unable to bind key for unsupported operation: down-history
[INFO] Unable to bind key for unsupported operation: up-history
[INFO] Unable to bind key for unsupported operation: down-history
[INFO] Unable to bind key for unsupported operation: up-history
[INFO] Unable to bind key for unsupported operation: down-history
17/05/26 19:30:34 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
17/05/26 19:30:34 ERROR SparkContext: Error initializing SparkContext.
java.net.UnknownHostException: cae-yun-03: cae-yun-03: unknown error
 at java.net.InetAddress.getLocalHost(InetAddress.java:1505)

。。。


正在回答

1 回答

这么明显的一个 java 异常

host 没弄对

你是服务器么

/etc/hosts 自己修改成你那里的情况

1 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

安装失败请教

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信