Thanks, because the hostname include "_"。
2014-04-17 12:39 GMT+08:00 Shengjun Xin <[email protected]>: > Maybe a configuration problem, what's the content of configuration? > > > On Thu, Apr 17, 2014 at 10:40 AM, 易剑 <[email protected]> wrote: > >> *How to solve the following problem?* >> >> >> *hadoop-hadoop-secondarynamenode-Tencent_VM_39_166_sles10_64.out:* >> Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library >> /data/hadoop/hadoop-2.4.0/lib/native/libhadoop.so.1.0.0 which might have >> disabled stack guard. The VM will try to fix the stack guard now. >> It's highly recommended that you fix the library with 'execstack -c >> <libfile>', or link it with '-z noexecstack'. >> Exception in thread "main" java.lang.IllegalArgumentException: The value >> of property bind.address must not be null >> at >> com.google.common.base.Preconditions.checkArgument(Preconditions.java:88) >> at >> org.apache.hadoop.conf.Configuration.set(Configuration.java:971) >> at >> org.apache.hadoop.conf.Configuration.set(Configuration.java:953) >> at >> org.apache.hadoop.http.HttpServer2.initializeWebServer(HttpServer2.java:391) >> at org.apache.hadoop.http.HttpServer2.<init>(HttpServer2.java:344) >> at org.apache.hadoop.http.HttpServer2.<init>(HttpServer2.java:104) >> at >> org.apache.hadoop.http.HttpServer2$Builder.build(HttpServer2.java:292) >> at >> org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.initialize(SecondaryNameNode.java:264) >> at >> org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.<init>(SecondaryNameNode.java:192) >> at >> org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.main(SecondaryNameNode.java:651) >> >> >> *start-dfs.sh output:* >> ./start-dfs.sh >> Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library >> /data/hadoop/hadoop-2.4.0/lib/native/libhadoop.so.1.0.0 which might have >> disabled stack guard. The VM will try to fix the stack guard now. >> It's highly recommended that you fix the library with 'execstack -c >> <libfile>', or link it with '-z noexecstack'. >> 14/04/17 02:29:22 WARN util.NativeCodeLoader: Unable to load >> native-hadoop library for your platform... using builtin-java classes where >> applicable >> 14/04/17 02:29:22 WARN conf.Configuration: mapred-site.xml:an attempt to >> override final parameter: mapreduce.job.end-notification.max.attempts; >> Ignoring. >> 14/04/17 02:29:22 WARN conf.Configuration: mapred-site.xml:an attempt to >> override final parameter: >> mapreduce.job.end-notification.max.retry.interval; Ignoring. >> 14/04/17 02:29:22 WARN conf.Configuration: mapred-site.xml:an attempt to >> override final parameter: mapreduce.job.end-notification.max.attempts; >> Ignoring. >> 14/04/17 02:29:22 WARN conf.Configuration: mapred-site.xml:an attempt to >> override final parameter: >> mapreduce.job.end-notification.max.retry.interval; Ignoring. >> Starting namenodes on [172.25.40.171] >> 172.25.40.171: starting namenode, logging to >> /data/hadoop/hadoop-2.4.0/logs/hadoop-hadoop-namenode-VM_40_171_sles10_64.out >> 10.12.154.77: datanode running as process 5096. Stop it first. >> 10.12.154.79: datanode running as process 25780. Stop it first. >> 10.12.154.78: datanode running as process 9563. Stop it first. >> Starting secondary namenodes [172.25.39.166] >> 172.25.39.166: starting secondarynamenode, logging to >> /data/hadoop/hadoop-2.4.0/logs/hadoop-hadoop-secondarynamenode-VM_39_166_sles10_64.out >> Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library >> /data/hadoop/hadoop-2.4.0/lib/native/libhadoop.so.1.0.0 which might have >> disabled stack guard. The VM will try to fix the stack guard now. >> It's highly recommended that you fix the library with 'execstack -c >> <libfile>', or link it with '-z noexecstack'. >> 14/04/17 02:29:37 WARN util.NativeCodeLoader: Unable to load >> native-hadoop library for your platform... using builtin-java classes where >> applicable >> 14/04/17 02:29:37 WARN conf.Configuration: mapred-site.xml:an attempt to >> override final parameter: mapreduce.job.end-notification.max.attempts; >> Ignoring. >> 14/04/17 02:29:37 WARN conf.Configuration: mapred-site.xml:an attempt to >> override final parameter: >> mapreduce.job.end-notification.max.retry.interval; Ignoring. >> 14/04/17 02:29:37 WARN conf.Configuration: mapred-site.xml:an attempt to >> override final parameter: mapreduce.job.end-notification.max.attempts; >> Ignoring. >> 14/04/17 02:29:37 WARN conf.Configuration: mapred-site.xml:an attempt to >> override final parameter: >> mapreduce.job.end-notification.max.retry.interval; Ignoring. >> > > > > -- > Regards > Shengjun > -- Hadoop Forum: http://www.hadoopor.com Open mooon: http://code.google.com/p/mooon
