问题描述
求各位帮看看,本人自学hadoop,在搭建时出现了问题,各种查也没弄明白,求助,希望好心人能留下QQ,进行详聊[zhm@Masterhadoop-2.6.0]$./bin/hdfsnamenode-format15/11/2103:33:27INFOnamenode.NameNode:STARTUP_MSG:/************************************************************STARTUP_MSG:StartingNameNodeSTARTUP_MSG:host=Master.Hadoop/10.171.19.68STARTUP_MSG:args=[-format]STARTUP_MSG:version=2.6.0STARTUP_MSG:classpath=/home/zhm/hadoop/hadoop-2.6.0/etc/hadoop:/home/zhm/hadoop/hadoop-2.6.0/share/hadoop/common/lib/commons-lang-2.6.jar:/home/zhm/hadoop/hadoop-2.6.0/share/hadoop/common/lib/commons-collections-3.2.1.jar:/home/zhm/hadoop/hadoop-2.6.0/share/hadoop/common/lib/stax-api-1.0-2.jar:/home/zhm/hadoop/hadoop-2.6.0/share/hadoop/common/lib/gson-2.2.4.jar:/home/zhm/hadoop/hadoop-2.6.0/share/hadoop/common/lib/paranamer-2.3.jar:/home/zhm/hadoop/hadoop-2.6.0/share/hadoop/common/lib/apacheds-kerberos-codec-2.0.0-M15.jar:/home/zhm/hadoop/hadoop-2.6.0/share/hadoop/common/lib/protobuf-java-2.5.0.jar:/home/zhm/hadoop/hadoop-2.6.0/share/hadoop/common/lib/jersey-server-1.9.jar:/home/zhm/hadoop/hadoop-2.6.0/share/hadoop/common/lib/commons-codec-1.4.jar:/home/zhm/hadoop/hadoop-2.6.0/share/hadoop/common/lib/jackson-jaxrs-1.9.13.jar:/home/zhm/hadoop/hadoop-2.6.0/share/hadoop/common/lib/jets3t-0.9.0.jar:/home/zhm/hadoop/hadoop-2.6.0/share/hadoop/common/lib/guava-11.0.2.jar:/home/zhm/hadoop/hadoop-2.6.0/share/hadoop/common/lib/apacheds-i18n-2.0.0-M15.jar:/home/zhm/hadoop/hadoop-2.6.0/share/hadoop/common/lib/httpclient-4.2.5.jar:/home/zhm/hadoop/hadoop-2.6.0/share/hadoop/common/lib/jackson-mapper-asl-1.9.13.jar:/home/zhm/hadoop/hadoop-2.6.0/share/hadoop/common/lib/commons-el-1.0.jar:/home/zhm/hadoop/hadoop-2.6.0/share/hadoop/common/lib/mockito-all-1.8.5.jar:/home/zhm/hadoop/hadoop-2.6.0/share/hadoop/common/lib/api-util-1.0.0-M20.jar:/home/zhm/hadoop/hadoop-2.6.0/share/hadoop/common/lib/commons-beanutils-1.7.0.jar:/home/zhm/hadoop/hadoop-2.6.0/share/hadoop/common/lib/hadoop-auth-2.6.0.jar:/home/zhm/hadoop/hadoop-2.6.0/share/hadoop/common/lib/commons-io-2.4.jar:/home/zhm/hadoop/hadoop-2.6.0/share/hadoop/common/lib/jasper-compiler-5.5.23.jar:/home/zhm/hadoop/hadoop-2.6.0/share/hadoop/common/lib/jersey-json-1.9.jar:/home/zhm/hadoop/hadoop-2.6.0/share/hadoop/common/lib/hadoop-annotations-2.6.0.jar:/home/zhm/hadoop/hadoop-2.6.0/share/hadoop/common/lib/htrace-core-3.0.4.jar:/home/zhm/hadoop/hadoop-2.6.0/share/hadoop/common/lib/jettison-1.1.jar:/home/zhm/hadoop/hadoop-2.6.0/share/hadoop/common/lib/curator-recipes-2.6.0.jar:/home/zhm/hadoop/hadoop-2.6.0/share/hadoop/common/lib/hamcrest-core-1.3.jar:/home/zhm/hadoop/hadoop-2.6.0/share/hadoop/common/lib/jaxb-api-2.2.2.jar:/home/zhm/hadoop/hadoop-2.6.0/share/hadoop/common/lib/commons-math3-3.1.1.jar:/home/zhm/hadoop/hadoop-2.6.0/share/hadoop/common/lib/jackson-xc-1.9.13.jar:/home/zhm/hadoop/hadoop-2.6.0/share/hadoop/common/lib/httpcore-4.2.5.jar:/home/zhm/hadoop/hadoop-2.6.0/share/hadoop/common/lib/xz-1.0.jar:/home/zhm/hadoop/hadoop-2.6.0/share/hadoop/common/lib/jasper-runtime-5.5.23.jar:/home/zhm/hadoop/hadoop-2.6.0/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar:/home/zhm/hadoop/hadoop-2.6.0/share/hadoop/common/lib/commons-net-3.1.jar:/home/zhm/hadoop/hadoop-2.6.0/share/hadoop/common/lib/commons-compress-1.4.1.jar:/home/zhm/hadoop/hadoop-2.6.0/share/hadoop/common/lib/curator-client-2.6.0.jar:/home/zhm/hadoop/hadoop-2.6.0/share/hadoop/common/lib/junit-4.11.jar:/home/zhm/hadoop/hadoop-2.6.0/share/hadoop/common/lib/slf4j-api-1.7.5.jar:STARTUP_MSG:build=Unknown-rUnknown;compiledby'root'on2014-12-23T03:59ZSTARTUP_MSG:java=1.8.0_65************************************************************/15/11/2103:33:27INFOnamenode.NameNode:registeredUNIXsignalhandlersfor[TERM,HUP,INT]15/11/2103:33:27INFOnamenode.NameNode:createNameNode[-format]Formattingusingclusterid:CID-d128a1bd-c057-4749-bb58-b7511d4cfc9c15/11/2103:33:28INFOnamenode.FSNamesystem:NoKeyProviderfound.15/11/2103:33:28INFOnamenode.FSNamesystem:fsLockisfair:true15/11/2103:33:28INFOblockmanagement.DatanodeManager:dfs.block.invalidate.limit=100015/11/2103:33:28INFOblockmanagement.DatanodeManager:dfs.namenode.datanode.registration.ip-hostname-check=true15/11/2103:33:28INFOblockmanagement.BlockManager:dfs.namenode.startup.delay.block.deletion.secissetto000:00:00:00.00015/11/2103:33:28INFOblockmanagement.BlockManager:Theblockdeletionwillstartaround2015Nov2103:33:2815/11/2103:33:28INFOutil.GSet:ComputingcapacityformapBlocksMap15/11/2103:33:28INFOutil.GSet:VMtype=64-bit15/11/2103:33:28INFOutil.GSet:2.0%maxmemory966.7MB=19.3MB15/11/2103:33:28INFOutil.GSet:capacity=2^21=2097152entries15/11/2103:33:28INFOblockmanagement.BlockManager:dfs.block.access.token.enable=false15/11/2103:33:28INFOblockmanagement.BlockManager:defaultReplication=215/11/2103:33:28INFOblockmanagement.BlockManager:maxReplication=51215/11/2103:33:28INFOblockmanagement.BlockManager:minReplication=115/11/2103:33:28INFOblockmanagement.BlockManager:maxReplicationStreams=215/11/2103:33:28INFOblockmanagement.BlockManager:shouldCheckForEnoughRacks=false15/11/2103:33:28INFOblockmanagement.BlockManager:replicationRecheckInterval=300015/11/2103:33:28INFOblockmanagement.BlockManager:encryptDataTransfer=false15/11/2103:33:28INFOblockmanagement.BlockManager:maxNumBlocksToLog=100015/11/2103:33:28INFOnamenode.FSNamesystem:fsOwner=zhm(auth:SIMPLE)15/11/2103:33:28INFOnamenode.FSNamesystem:supergroup=supergroup15/11/2103:33:28INFOnamenode.FSNamesystem:isPermissionEnabled=true15/11/2103:33:28INFOnamenode.FSNamesystem:HAEnabled:false15/11/2103:33:28INFOnamenode.FSNamesystem:AppendEnabled:true15/11/2103:33:29INFOutil.GSet:ComputingcapacityformapINodeMap15/11/2103:33:29INFOutil.GSet:VMtype=64-bit15/11/2103:33:29INFOutil.GSet:1.0%maxmemory966.7MB=9.7MB15/11/2103:33:29INFOutil.GSet:capacity=2^20=1048576entries15/11/2103:33:29INFOnamenode.NameNode:Cachingfilenamesoccuringmorethan10times15/11/2103:33:29INFOutil.GSet:ComputingcapacityformapcachedBlocks15/11/2103:33:29INFOutil.GSet:VMtype=64-bit15/11/2103:33:29INFOutil.GSet:0.25%maxmemory966.7MB=2.4MB15/11/2103:33:29INFOutil.GSet:capacity=2^18=262144entries15/11/2103:33:29INFOnamenode.FSNamesystem:dfs.namenode.safemode.threshold-pct=0.999000012874603315/11/2103:33:29INFOnamenode.FSNamesystem:dfs.namenode.safemode.min.datanodes=015/11/2103:33:29INFOnamenode.FSNamesystem:dfs.namenode.safemode.extension=3000015/11/2103:33:29INFOnamenode.FSNamesystem:Retrycacheonnamenodeisenabled15/11/2103:33:29INFOnamenode.FSNamesystem:Retrycachewilluse0.03oftotalheapandretrycacheentryexpirytimeis600000millis15/11/2103:33:29INFOutil.GSet:ComputingcapacityformapNameNodeRetryCache15/11/2103:33:29INFOutil.GSet:VMtype=64-bit15/11/2103:33:29INFOutil.GSet:0.029999999329447746%maxmemory966.7MB=297.0KB15/11/2103:33:29INFOutil.GSet:capacity=2^15=32768entries15/11/2103:33:29INFOnamenode.NNConf:ACLsenabled?false15/11/2103:33:29INFOnamenode.NNConf:XAttrsenabled?true15/11/2103:33:29INFOnamenode.NNConf:Maximumsizeofanxattr:1638415/11/2103:33:29INFOnamenode.FSImage:AllocatednewBlockPoolId:BP-631693077-10.171.19.68-144804800930915/11/2103:33:29WARNnamenode.NameNode:Encounteredexceptionduringformat:java.io.IOException:Cannotcreatedirectory/mnt/tmp/dfs/name/currentatorg.apache.hadoop.hdfs.server.common.Storage$StorageDirectory.clearDirectory(Storage.java:337)atorg.apache.hadoop.hdfs.server.namenode.NNStorage.format(NNStorage.java:548)atorg.apache.hadoop.hdfs.server.namenode.NNStorage.format(NNStorage.java:569)atorg.apache.hadoop.hdfs.server.namenode.FSImage.format(FSImage.java:148)atorg.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:941)atorg.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1379)atorg.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1504)15/11/2103:33:29FATALnamenode.NameNode:Failedtostartnamenode.java.io.IOException:Cannotcreatedirectory/mnt/tmp/dfs/name/currentatorg.apache.hadoop.hdfs.server.common.Storage$StorageDirectory.clearDirectory(Storage.java:337)atorg.apache.hadoop.hdfs.server.namenode.NNStorage.format(NNStorage.java:548)atorg.apache.hadoop.hdfs.server.namenode.NNStorage.format(NNStorage.java:569)atorg.apache.hadoop.hdfs.server.namenode.FSImage.format(FSImage.java:148)atorg.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:941)atorg.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1379)atorg.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1504)15/11/2103:33:29INFOutil.ExitUtil:Exitingwithstatus115/11/2103:33:29INFOnamenode.NameNode:SHUTDOWN_MSG:/************************************************************SHUTDOWN_MSG:ShuttingdownNameNodeatMaster.Hadoop/10.171.19.68************************************************************/