努力学习啊啊
2021-10-24 14:47
2021-10-24 14:41:13,001 ERROR org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode: Failed to start secondary namenode
java.lang.IllegalArgumentException: java.net.UnknownHostException: hadoop100
at org.apache.hadoop.security.SecurityUtil.buildTokenService(SecurityUtil.java:447)
at org.apache.hadoop.hdfs.NameNodeProxies.createNonHAProxy(NameNodeProxies.java:171)
at org.apache.hadoop.hdfs.NameNodeProxies.createNonHAProxy(NameNodeProxies.java:148)
at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.initialize(SecondaryNameNode.java:234)
at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.<init>(SecondaryNameNode.java:194)
at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.main(SecondaryNameNode.java:690)
Caused by: java.net.UnknownHostException: hadoop100
... 6 more
2021-10-24 14:41:13,003 INFO org.apache.hadoop.util.ExitUtil: Exiting with status 1: ExitException
2021-10-24 14:41:13,005 INFO org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode: SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down SecondaryNameNode at handoop100/192.168.31.134
************************************************************/
在百度上找了好多野没有解决
核心错误日志是这一句:
Caused by: java.net.UnknownHostException: hadoop100
表示不认识hadoop100这个主机名,需要配置hostname以及/etc/hosts
已解决
是jps后没有出现namenode和secondrynamenode
快速入门Hadoop3.0大数据处理
16784 学习 · 74 问题
相似问题