Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # user >> start JN error java.net.UnknownHostException


Copy link to this message
-
start JN error java.net.UnknownHostException
i set all node domain in DNS,

chbm220.benchmark.com 192.168.10.220
chbm221.benchmark.com 192.168.10.221
chbm222.benchmark.com 192.168.10.222
chbm223.benchmark.com 192.168.10.223
chbm224.benchmark.com 192.168.10.224

i do not know why,any one can help?

************************************************************/
2013-08-21 13:28:25,687 INFO
org.apache.hadoop.hdfs.qjournal.server.JournalNode: registered UNIX signal
handlers for [TERM, HUP, INT]
2013-08-21 13:28:25,857 INFO org.apache.hadoop.metrics2.impl.MetricsConfig:
loaded properties from hadoop-metrics2.properties
2013-08-21 13:28:26,009 ERROR
org.apache.hadoop.metrics2.impl.MetricsSystemImpl: Error getting localhost
name. Using 'localhost'...
java.net.UnknownHostException: CHBM220: CHBM220
        at java.net.InetAddress.getLocalHost(InetAddress.java:1360)
        at
org.apache.hadoop.metrics2.impl.MetricsSystemImpl.getHostname(MetricsSystemImpl.java:496)
        at
org.apache.hadoop.metrics2.impl.MetricsSystemImpl.configureSystem(MetricsSystemImpl.java:435)
        at
org.apache.hadoop.metrics2.impl.MetricsSystemImpl.configure(MetricsSystemImpl.java:431)
        at
org.apache.hadoop.metrics2.impl.MetricsSystemImpl.start(MetricsSystemImpl.java:180)
        at
org.apache.hadoop.metrics2.impl.MetricsSystemImpl.init(MetricsSystemImpl.java:156)
        at
org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.init(DefaultMetricsSystem.java:54)
        at
org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.initialize(DefaultMetricsSystem.java:50)
        at
org.apache.hadoop.hdfs.qjournal.server.JournalNode.start(JournalNode.java:134)
        at
org.apache.hadoop.hdfs.qjournal.server.JournalNode.run(JournalNode.java:122)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
        at
org.apache.hadoop.hdfs.qjournal.server.JournalNode.main(JournalNode.java:235)