请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

start-dfs.sh出现问题

这里是引用文字
hadoop@ubuntu:~/Desktop/myfiles/hadoop-2.8.5/sbin$ ./start-dfs.sh
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.hadoop.security.authentication.util.KerberosUtil (file:/home/hadoop/Desktop/myfiles/hadoop-2.8.5/share/hadoop/common/lib/hadoop-auth-2.8.5.jar) to method sun.security.krb5.Config.getInstance()
WARNING: Please consider reporting this to the maintainers of org.apache.hadoop.security.authentication.util.KerberosUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
18/10/16 20:02:48 WARN hdfs.DFSUtilClient: Namenode for null remains unresolved for ID null. Check your hdfs-site.xml file to ensure namenodes are configured properly.
Starting namenodes on [hadoop]
hadoop: ssh: Could not resolve hostname hadoop: Name or service not known
ubuntu: starting datanode, logging to /home/hadoop/Desktop/myfiles/hadoop-2.8.5/logs/hadoop-hadoop-datanode-ubuntu.out
ubuntu: WARNING: An illegal reflective access operation has occurred
ubuntu: WARNING: Illegal reflective access by org.apache.hadoop.security.authentication.util.KerberosUtil (file:/home/hadoop/Desktop/myfiles/hadoop-2.8.5/share/hadoop/common/lib/hadoop-auth-2.8.5.jar) to method sun.security.krb5.Config.getInstance()
ubuntu: WARNING: Please consider reporting this to the maintainers of org.apache.hadoop.security.authentication.util.KerberosUtil
ubuntu: WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
ubuntu: WARNING: All illegal access operations will be denied in a future release
Starting secondary namenodes [0.0.0.0]
0.0.0.0: starting secondarynamenode, logging to /home/hadoop/Desktop/myfiles/hadoop-2.8.5/logs/hadoop-hadoop-secondarynamenode-ubuntu.out
0.0.0.0: WARNING: An illegal reflective access operation has occurred
0.0.0.0: WARNING: Illegal reflective access by org.apache.hadoop.security.authentication.util.KerberosUtil (file:/home/hadoop/Desktop/myfiles/hadoop-2.8.5/share/hadoop/common/lib/hadoop-auth-2.8.5.jar) to method sun.security.krb5.Config.getInstance()
0.0.0.0: WARNING: Please consider reporting this to the maintainers of org.apache.hadoop.security.authentication.util.KerberosUtil
0.0.0.0: WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
0.0.0.0: WARNING: All illegal access operations will be denied in a future release
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.hadoop.security.authentication.util.KerberosUtil (file:/home/hadoop/Desktop/myfiles/hadoop-2.8.5/share/hadoop/common/lib/hadoop-auth-2.8.5.jar) to method sun.security.krb5.Config.getInstance()
WARNING: Please consider reporting this to the maintainers of org.apache.hadoop.security.authentication.util.KerberosUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

请问这是什么原因呢

正在回答 回答被采纳积分+3

1回答

Michael_PK 2018-10-17 11:25:32

hadoop: ssh: Could not resolve hostname hadoop: Name or service not known

0 回复 有任何疑惑可以回复我~
  • 提问者 慕九州7382466 #1
    请问这是ssh设置出现的问题吗
    回复 有任何疑惑可以回复我~ 2018-10-17 11:29:36
  • Michael_PK 回复 提问者 慕九州7382466 #2
    是的,检查机器名是否OK。另外:这些日志都是warn,应该不影响使用吧
    回复 有任何疑惑可以回复我~ 2018-10-17 12:13:16
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信