hadoop namenode -format 失败

wateryh 2017-09-23 05:41:26
C:\Users\Administrator>hadoop namenode -format
DEPRECATED: Use of this script to execute hdfs command is deprecated.
Instead use the hdfs command for it.
17/09/23 17:36:55 INFO namenode.NameNode: STARTUP_MSG:
/************************************************************
STARTUP_MSG: Starting NameNode
STARTUP_MSG: user = Administrator
STARTUP_MSG: host = USER-20150915QR/169.254.138.84
STARTUP_MSG: args = [-format]
STARTUP_MSG: version = 2.8.1
STARTUP_MSG: classpath =xxxxxxxxx
STARTUP_MSG: build = https://git-wip-us.apache.org/repos/asf/hadoop.git -r 20f
e5304904fc2f5a18053c389e43cd26f7a70fe; compiled by 'vinodkv' on 2017-06-02T06:14
Z
STARTUP_MSG: java = 1.8.0_141
************************************************************/
17/09/23 17:36:55 INFO namenode.NameNode: createNameNode [-format]
17/09/23 17:36:55 WARN util.NativeCodeLoader: Unable to load native-hadoop libra
ry for your platform... using builtin-java classes where applicable
Formatting using clusterid: CID-a4fcd32e-cfc3-477b-b81f-26c79d996e28
17/09/23 17:36:56 INFO namenode.FSEditLog: Edit logging is async:false
17/09/23 17:36:56 INFO namenode.FSNamesystem: KeyProvider: null
17/09/23 17:36:56 INFO namenode.FSNamesystem: fsLock is fair: true
17/09/23 17:36:56 INFO namenode.FSNamesystem: Detailed lock hold time metrics en
abled: false
17/09/23 17:36:56 INFO blockmanagement.DatanodeManager: dfs.block.invalidate.lim
it=1000
17/09/23 17:36:56 INFO blockmanagement.DatanodeManager: dfs.namenode.datanode.re
gistration.ip-hostname-check=true
17/09/23 17:36:56 INFO blockmanagement.BlockManager: dfs.namenode.startup.delay.
block.deletion.sec is set to 000:00:00:00.000
17/09/23 17:36:56 INFO blockmanagement.BlockManager: The block deletion will sta
rt around 2017 九月 23 17:36:56
17/09/23 17:36:56 INFO util.GSet: Computing capacity for map BlocksMap
17/09/23 17:36:56 INFO util.GSet: VM type = 64-bit
17/09/23 17:36:56 INFO util.GSet: 2.0% max memory 889 MB = 17.8 MB
17/09/23 17:36:56 INFO util.GSet: capacity = 2^21 = 2097152 entries
17/09/23 17:36:56 INFO blockmanagement.BlockManager: dfs.block.access.token.enab
le=false
17/09/23 17:36:56 INFO blockmanagement.BlockManager: defaultReplication
= 1
17/09/23 17:36:56 INFO blockmanagement.BlockManager: maxReplication
= 512
17/09/23 17:36:56 INFO blockmanagement.BlockManager: minReplication
= 1
17/09/23 17:36:56 INFO blockmanagement.BlockManager: maxReplicationStreams
= 2
17/09/23 17:36:56 INFO blockmanagement.BlockManager: replicationRecheckInterval
= 3000
17/09/23 17:36:56 INFO blockmanagement.BlockManager: encryptDataTransfer
= false
17/09/23 17:36:56 INFO blockmanagement.BlockManager: maxNumBlocksToLog
= 1000
17/09/23 17:36:56 INFO namenode.FSNamesystem: fsOwner = Administrato
r (auth:SIMPLE)
17/09/23 17:36:56 INFO namenode.FSNamesystem: supergroup = supergroup
17/09/23 17:36:56 INFO namenode.FSNamesystem: isPermissionEnabled = true
17/09/23 17:36:56 INFO namenode.FSNamesystem: HA Enabled: false
17/09/23 17:36:56 INFO namenode.FSNamesystem: Append Enabled: true
17/09/23 17:36:56 INFO util.GSet: Computing capacity for map INodeMap
17/09/23 17:36:56 INFO util.GSet: VM type = 64-bit
17/09/23 17:36:56 INFO util.GSet: 1.0% max memory 889 MB = 8.9 MB
17/09/23 17:36:56 INFO util.GSet: capacity = 2^20 = 1048576 entries
17/09/23 17:36:56 INFO namenode.FSDirectory: ACLs enabled? false
17/09/23 17:36:56 INFO namenode.FSDirectory: XAttrs enabled? true
17/09/23 17:36:56 INFO namenode.NameNode: Caching file names occurring more than
10 times
17/09/23 17:36:56 INFO util.GSet: Computing capacity for map cachedBlocks
17/09/23 17:36:56 INFO util.GSet: VM type = 64-bit
17/09/23 17:36:56 INFO util.GSet: 0.25% max memory 889 MB = 2.2 MB
17/09/23 17:36:56 INFO util.GSet: capacity = 2^18 = 262144 entries
17/09/23 17:36:56 INFO namenode.FSNamesystem: dfs.namenode.safemode.threshold-pc
t = 0.9990000128746033
17/09/23 17:36:56 INFO namenode.FSNamesystem: dfs.namenode.safemode.min.datanode
s = 0
17/09/23 17:36:56 INFO namenode.FSNamesystem: dfs.namenode.safemode.extension
= 30000
17/09/23 17:36:56 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.window.n
um.buckets = 10
17/09/23 17:36:56 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.num.user
s = 10
17/09/23 17:36:56 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.windows.
minutes = 1,5,25
17/09/23 17:36:56 INFO namenode.FSNamesystem: Retry cache on namenode is enabled

17/09/23 17:36:56 INFO namenode.FSNamesystem: Retry cache will use 0.03 of total
heap and retry cache entry expiry time is 600000 millis
17/09/23 17:36:56 INFO util.GSet: Computing capacity for map NameNodeRetryCache
17/09/23 17:36:56 INFO util.GSet: VM type = 64-bit
17/09/23 17:36:56 INFO util.GSet: 0.029999999329447746% max memory 889 MB = 273.
1 KB
17/09/23 17:36:56 INFO util.GSet: capacity = 2^15 = 32768 entries
17/09/23 17:36:56 INFO namenode.FSImage: Allocated new BlockPoolId: BP-197132218
6-169.254.138.84-1506159416740
17/09/23 17:36:56 INFO common.Storage: Storage directory E:\softdata\hadoop_data
\tmp\dfs\name has been successfully formatted.
17/09/23 17:36:56 INFO namenode.FSImageFormatProtobuf: Saving image file E:\soft
data\hadoop_data\tmp\dfs\name\current\fsimage.ckpt_0000000000000000000 using no
compression
17/09/23 17:36:56 INFO namenode.FSImageFormatProtobuf: Image file E:\softdata\ha
doop_data\tmp\dfs\name\current\fsimage.ckpt_0000000000000000000 of size 330 byte
s saved in 0 seconds.
17/09/23 17:36:57 INFO namenode.NNStorageRetentionManager: Going to retain 1 ima
ges with txid >= 0
17/09/23 17:36:57 INFO util.ExitUtil: Exiting with status 0
17/09/23 17:36:57 INFO namenode.NameNode: SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down NameNode at USER-20150915QR/169.254.138.84
************************************************************/

C:\Users\Administrator>
请问为啥Shutting down NameNode





















































...全文
491 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
samme2019 2019-09-25
  • 打赏
  • 举报
回复
你这没有失败,正常的

20,807

社区成员

发帖
与我相关
我的任务
社区描述
Hadoop生态大数据交流社区,致力于有Hadoop,hive,Spark,Hbase,Flink,ClickHouse,Kafka,数据仓库,大数据集群运维技术分享和交流等。致力于收集优质的博客
社区管理员
  • 分布式计算/Hadoop社区
  • 涤生大数据
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧