NameNode格式化失败,查看日志,报如下错:

<span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:43 INFO namenode.NameNode: registered UNIX signal handlers for [TERM, HUP, INT]</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:43 INFO namenode.NameNode: createNameNode [-format]</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:43 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">Formatting using clusterid: CID-6c167702-ea87-43f6-b1ff-8541a35e2a74</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO namenode.FSNamesystem: fsLock is fair:true</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO blockmanagement.DatanodeManager: dfs.block.invalidate.limit=1000</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO blockmanagement.DatanodeManager: dfs.namenode.datanode.registration.ip-hostname-check=true</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO blockmanagement.BlockManager: dfs.namenode.startup.delay.block.deletion.sec is set to 000:00:00:00.000</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO blockmanagement.BlockManager: The block deletion will start around 2015 Apr 08 10:05:44</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO util.GSet: Computing capacity for map BlocksMap</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO util.GSet: VM type       = 64-bit</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO util.GSet: 2.0% max memory 966.7 MB = 19.3 MB</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO util.GSet: capacity      = 2^21 = 2097152 entries</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO blockmanagement.BlockManager: dfs.block.access.token.enable=false</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO blockmanagement.BlockManager: defaultReplication         = 3</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO blockmanagement.BlockManager: maxReplication             = 512</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO blockmanagement.BlockManager: minReplication             = 1</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO blockmanagement.BlockManager: maxReplicationStreams      = 2</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO blockmanagement.BlockManager: shouldCheckForEnoughRacks  = false</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO blockmanagement.BlockManager: replicationRecheckInterval = 3000</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO blockmanagement.BlockManager: encryptDataTransfer        = false</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO blockmanagement.BlockManager: maxNumBlocksToLog          = 1000</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO namenode.FSNamesystem: fsOwner             = root (auth:SIMPLE)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO namenode.FSNamesystem: supergroup          = supergroup</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO namenode.FSNamesystem: isPermissionEnabled = true</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO namenode.FSNamesystem: Determined nameservice ID: ns1</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO namenode.FSNamesystem: HA Enabled: true</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO namenode.FSNamesystem: Append Enabled: true</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO util.GSet: Computing capacity for map INodeMap</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO util.GSet: VM type       = 64-bit</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO util.GSet: 1.0% max memory 966.7 MB = 9.7 MB</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO util.GSet: capacity      = 2^20 = 1048576 entries</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO namenode.NameNode: Caching file names occuring more than 10 times</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO util.GSet: Computing capacity for map cachedBlocks</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO util.GSet: VM type       = 64-bit</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO util.GSet: 0.25% max memory 966.7 MB = 2.4 MB</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO util.GSet: capacity      = 2^18 = 262144 entries</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO namenode.FSNamesystem: dfs.namenode.safemode.threshold-pct = 0.9990000128746033</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO namenode.FSNamesystem: dfs.namenode.safemode.min.datanodes = 0</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO namenode.FSNamesystem: dfs.namenode.safemode.extension     = 30000</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO namenode.FSNamesystem: Retry cache on namenode is enabled</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO namenode.FSNamesystem: Retry cache will use 0.03 of total heap and retry cache entry expiry time is 600000 millis</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO util.GSet: Computing capacity for map NameNodeRetryCache</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO util.GSet: VM type       = 64-bit</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO util.GSet: 0.029999999329447746% max memory 966.7 MB = 297.0 KB</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO util.GSet: capacity      = 2^15 = 32768 entries</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO namenode.NNConf: ACLs enabled? false</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO namenode.NNConf: XAttrs enabled? true</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:44 INFO namenode.NNConf: Maximum size of an xattr: 16384</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:45 WARN ssl.FileBasedKeyStoresFactory: The property 'ssl.client.truststore.location' has not been set, no TrustStore will be loaded</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:46 INFO ipc.Client: Retrying connect to server: worker05/192.168.217.15:8485. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:46 INFO ipc.Client: Retrying connect to server: worker06/192.168.217.16:8485. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:46 INFO ipc.Client: Retrying connect to server: worker07/192.168.217.17:8485. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:47 INFO ipc.Client: Retrying connect to server: worker05/192.168.217.15:8485. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:47 INFO ipc.Client: Retrying connect to server: worker06/192.168.217.16:8485. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:47 INFO ipc.Client: Retrying connect to server: worker07/192.168.217.17:8485. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:48 INFO ipc.Client: Retrying connect to server: worker05/192.168.217.15:8485. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:48 INFO ipc.Client: Retrying connect to server: worker07/192.168.217.17:8485. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:48 INFO ipc.Client: Retrying connect to server: worker06/192.168.217.16:8485. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:49 INFO ipc.Client: Retrying connect to server: worker05/192.168.217.15:8485. Already tried 3 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:49 INFO ipc.Client: Retrying connect to server: worker07/192.168.217.17:8485. Already tried 3 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:49 INFO ipc.Client: Retrying connect to server: worker06/192.168.217.16:8485. Already tried 3 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:50 INFO ipc.Client: Retrying connect to server: worker05/192.168.217.15:8485. Already tried 4 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:50 INFO ipc.Client: Retrying connect to server: worker06/192.168.217.16:8485. Already tried 4 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:50 INFO ipc.Client: Retrying connect to server: worker07/192.168.217.17:8485. Already tried 4 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:51 INFO ipc.Client: Retrying connect to server: worker07/192.168.217.17:8485. Already tried 5 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:51 INFO ipc.Client: Retrying connect to server: worker05/192.168.217.15:8485. Already tried 5 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:51 INFO ipc.Client: Retrying connect to server: worker06/192.168.217.16:8485. Already tried 5 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:52 INFO ipc.Client: Retrying connect to server: worker05/192.168.217.15:8485. Already tried 6 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:52 INFO ipc.Client: Retrying connect to server: worker07/192.168.217.17:8485. Already tried 6 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:52 INFO ipc.Client: Retrying connect to server: worker06/192.168.217.16:8485. Already tried 6 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:53 INFO ipc.Client: Retrying connect to server: worker05/192.168.217.15:8485. Already tried 7 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:53 INFO ipc.Client: Retrying connect to server: worker07/192.168.217.17:8485. Already tried 7 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:53 INFO ipc.Client: Retrying connect to server: worker06/192.168.217.16:8485. Already tried 7 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:54 INFO ipc.Client: Retrying connect to server: worker05/192.168.217.15:8485. Already tried 8 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:54 INFO ipc.Client: Retrying connect to server: worker07/192.168.217.17:8485. Already tried 8 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:54 INFO ipc.Client: Retrying connect to server: worker06/192.168.217.16:8485. Already tried 8 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:55 INFO ipc.Client: Retrying connect to server: worker05/192.168.217.15:8485. Already tried 9 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:55 INFO ipc.Client: Retrying connect to server: worker07/192.168.217.17:8485. Already tried 9 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:55 INFO ipc.Client: Retrying connect to server: worker06/192.168.217.16:8485. Already tried 9 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:56 WARN namenode.NameNode: Encountered exception during format: </span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">org.apache.hadoop.hdfs.qjournal.client.QuorumException: Unable to check if JNs are ready for formatting. 2 exceptions thrown:</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">192.168.217.17:8485: Call From worker01/192.168.217.11 to worker07:8485 failed on connection exception: java.net.ConnectException: Connection refused; For more details see:  http://wiki.apache.org/hadoop/ConnectionRefused</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">192.168.217.16:8485: Call From worker01/192.168.217.11 to worker06:8485 failed on connection exception: java.net.ConnectException: Connection refused; For more details see:  http://wiki.apache.org/hadoop/ConnectionRefused</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">        at org.apache.hadoop.hdfs.qjournal.client.QuorumException.create(QuorumException.java:81)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">        at org.apache.hadoop.hdfs.qjournal.client.QuorumCall.rethrowException(QuorumCall.java:223)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">        at org.apache.hadoop.hdfs.qjournal.client.QuorumJournalManager.hasSomeData(QuorumJournalManager.java:232)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">        at org.apache.hadoop.hdfs.server.common.Storage.confirmFormat(Storage.java:875)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">        at org.apache.hadoop.hdfs.server.namenode.FSImage.confirmFormat(FSImage.java:171)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">        at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:922)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">        at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1354)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">        at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1473)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:56 FATAL namenode.NameNode: Exception in namenode join</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">org.apache.hadoop.hdfs.qjournal.client.QuorumException: Unable to check if JNs are ready for formatting. 2 exceptions thrown:</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">192.168.217.17:8485: Call From worker01/192.168.217.11 to worker07:8485 failed on connection exception: java.net.ConnectException: Connection refused; For more details see:  http://wiki.apache.org/hadoop/ConnectionRefused</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">192.168.217.16:8485: Call From worker01/192.168.217.11 to worker06:8485 failed on connection exception: java.net.ConnectException: Connection refused; For more details see:  http://wiki.apache.org/hadoop/ConnectionRefused</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">        at org.apache.hadoop.hdfs.qjournal.client.QuorumException.create(QuorumException.java:81)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">        at org.apache.hadoop.hdfs.qjournal.client.QuorumCall.rethrowException(QuorumCall.java:223)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">        at org.apache.hadoop.hdfs.qjournal.client.QuorumJournalManager.hasSomeData(QuorumJournalManager.java:232)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">        at org.apache.hadoop.hdfs.server.common.Storage.confirmFormat(Storage.java:875)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">        at org.apache.hadoop.hdfs.server.namenode.FSImage.confirmFormat(FSImage.java:171)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">        at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:922)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">        at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1354)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">        at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1473)</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:56 INFO util.ExitUtil: Exiting with status 1</span><br style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;" /><span style="color: rgb(85, 85, 85); font-family: "microsoft yahei"; font-size: 15px; line-height: 35px;">15/04/08 10:05:56 INFO namenode.NameNode: SHUTDOWN_MSG: </span>

NameNode格式化失败问题的解决_apache

解决方法:先用./zkServer.sh start 启动各个zookeeper,再用./ hadoop-daemon.sh start journalnode启动各个NodeName上的 JournalNode进程。然后再进行格式化即可。