大侠,XP下装vmware装CENTOS,32位机器。格式化namenode出现如下错误。hdfs namenode -format
版本:hadoop-2.5.0
WARN:mapred-site这个问题一直没解决,从2.4.0到2.5.0,哪位大侠能分享下你的配置吗?就core-site.xml,yarn-site.xml,mapred-site.xml,hdfs-site.xml。
STARTUP_MSG: java = 1.7.0_67
************************************************************/
14/08/24 01:40:30 INFO namenode.NameNode: registered UNIX signal handlers for [TERM, HUP, INT]
14/08/24 01:40:30 INFO namenode.NameNode: createNameNode [-format, master]
14/08/24 01:40:31 DEBUG namenode.NameNode: Setting fs.defaultFS to hdfs://master:9001
14/08/24 01:40:31 DEBUG lib.MutableMetricsFactory: field org.apache.hadoop.metrics2.lib.MutableRate org.apache.hadoop.security.UserGroupInformation$UgiMetrics.loginSuccess with annotation @org.apache.hadoop.metrics2.annotation.Metric(valueName=Time, about=, value=[Rate of successful kerberos logins and latency (milliseconds)], always=false, type=DEFAULT, sampleName=Ops)
14/08/24 01:40:31 DEBUG lib.MutableMetricsFactory: field org.apache.hadoop.metrics2.lib.MutableRate org.apache.hadoop.security.UserGroupInformation$UgiMetrics.loginFailure with annotation @org.apache.hadoop.metrics2.annotation.Metric(valueName=Time, about=, value=[Rate of failed kerberos logins and latency (milliseconds)], always=false, type=DEFAULT, sampleName=Ops)
14/08/24 01:40:31 DEBUG lib.MutableMetricsFactory: field org.apache.hadoop.metrics2.lib.MutableRate org.apache.hadoop.security.UserGroupInformation$UgiMetrics.getGroups with annotation @org.apache.hadoop.metrics2.annotation.Metric(valueName=Time, about=, value=[GetGroups], always=false, type=DEFAULT, sampleName=Ops)
14/08/24 01:40:31 DEBUG impl.MetricsSystemImpl: UgiMetrics, User and group related metrics
14/08/24 01:40:32 DEBUG security.Groups: Creating new Groups object
14/08/24 01:40:32 DEBUG util.NativeCodeLoader: Trying to load the custom-built native-hadoop library...
Java HotSpot(TM) Client VM warning: You have loaded library /home/hadoop/hadoop-2.5.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/08/24 01:40:32 DEBUG util.NativeCodeLoader: Failed to load native-hadoop with error: java.lang.UnsatisfiedLinkError: /home/hadoop/hadoop-2.5.0/lib/native/libhadoop.so.1.0.0: /home/hadoop/hadoop-2.5.0/lib/native/libhadoop.so.1.0.0: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
14/08/24 01:40:32 DEBUG util.NativeCodeLoader: java.library.path=/home/hadoop/hadoop-2.5.0/lib/native:/usr/java/packages/lib/i386:/lib:/usr/lib 14/08/24 01:40:32 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
14/08/24 01:40:32 DEBUG security.JniBasedUnixGroupsMappingWithFallback: Falling back to shell based
14/08/24 01:40:32 DEBUG security.JniBasedUnixGroupsMappingWithFallback: Group mapping impl=org.apache.hadoop.security.ShellBasedUnixGroupsMapping 14/08/24 01:40:32 WARN conf.Configuration: mapred-site.xml:an attempt to override final parameter: mapreduce.job.end-notification.max.attempts; Ignoring.
14/08/24 01:40:32 WARN conf.Configuration: mapred-site.xml:an attempt to override final parameter: mapreduce.job.end-notification.max.retry.interval; Ignoring.
14/08/24 01:40:32 DEBUG security.Groups: Group mapping impl=org.apache.hadoop.security.JniBasedUnixGroupsMappingWithFallback; cacheTimeout=300000; warningDeltaMs=5000 14/08/24 01:40:32 WARN conf.Configuration: mapred-site.xml:an attempt to override final parameter: mapreduce.job.end-notification.max.attempts; Ignoring.
14/08/24 01:40:32 WARN conf.Configuration: mapred-site.xml:an attempt to override final parameter: mapreduce.job.end-notification.max.retry.interval; Ignoring.
Formatting using clusterid: CID-b112b0cd-66cc-4776-a5fc-b7c0145861f7
14/08/24 01:40:32 INFO namenode.FSNamesystem: fsLock is fair:true
Java HotSpot(TM) Client VM warning: You have loaded library /cloud/hadoop-2.5.2/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'.