问答详情
源自:3-3 Hadoop伪分布集群安装部署(下)

namenode和secondarynamenode都无法开启 其他正常

2020-07-30 09:25:15,770 ERROR org.apache.hadoop.hdfs.server.namenode.NameNode: Failed to start namenode.

java.lang.IllegalArgumentException: The value of property bind.address must not be null

at com.google.common.base.Preconditions.checkArgument(Preconditions.java:216)

at org.apache.hadoop.conf.Configuration.set(Configuration.java:1357)

at org.apache.hadoop.conf.Configuration.set(Configuration.java:1338)

at org.apache.hadoop.http.HttpServer2.initializeWebServer(HttpServer2.java:603)

at org.apache.hadoop.http.HttpServer2.<init>(HttpServer2.java:558)

at org.apache.hadoop.http.HttpServer2.<init>(HttpServer2.java:119)

at org.apache.hadoop.http.HttpServer2$Builder.build(HttpServer2.java:433)

at org.apache.hadoop.hdfs.server.namenode.NameNodeHttpServer.start(NameNodeHttpServer.java:164)

at org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:885)

at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:707)

at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:953)

at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:926)

at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1692)

at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1759)

2020-07-30 09:25:15,773 INFO org.apache.hadoop.util.ExitUtil: Exiting with status 1: java.lang.IllegalArgumentException: The value of property bind.address must not be null


日志信息说我地址端口号有问题 但我都是按步骤来的啊

提问者:慕后端4477088 2020-07-30 09:36

个回答

  • 徐老师
    2020-07-31 09:14:46

    这里面提示的是你设置的adress设置的有问题,应该是主机名有问题

    你的主机名中有没有用下划线之类的特殊字符?