hadoop和hostname

启动hadoop集群出错,

写道
ERROR org.apache.hadoop.hdfs.server.namenode.NameNode: java.lang.IllegalArgumentException: Does not contain a valid host:port authority: hdfs://hadoop.01:9000

查了一下,hadoop的hostname不能有"."之类的字符.鄙视


其实是host的最后的部分不能以数字开头

写道
The rightmost domain label of a fully qualified domain name will never start with a digit, thus syntactically distinguishing domain names from IPv4 addresses

猜你喜欢

转载自kabike.iteye.com/blog/2207669