HDFS退役导致异常状态

时间:2019-04-08 22:12:18

标签: hadoop hdfs hadoop2

我正在停用一个数据节点,并且我似乎处于一种奇怪的状态。退役卡在了最后一块,我在namenode日志中看到了。

2019-04-08 21:57:04,733 INFO BlockStateChange: Block: blk_1404361862_331037360, Expected Replicas: 2, live replicas: 0, corrupt replicas: 0, decommissioned replicas: 0, decommissioning replicas: 1, excess replicas: 0, Is Open File: true, Datanodes having this block: 10.0.104.178:50010 , Current Datanode: 10.0.104.178:50010, Is current datanode decommissioning: true

但是,当我在该块上运行fsck

19/04/08 21:47:51 INFO gcs.GoogleHadoopFileSystemBase: GHFS version: 1.6.0-hadoop2
Connecting to namenode via http://spark15:50070/fsck?ugi=root&blockId=blk_1404361862_331037360+&path=%2F
FSCK started by root (auth:SIMPLE) from /10.0.101.71 at Mon Apr 08 21:47:52 UTC 2019

Block blk_1404361862_331037360 does not exist```

Perhaps it was from some temporary file? How can I fix this inconsistency?

0 个答案:

没有答案