我在删除一个节点时,遇到一个
从block的数目上看,该删除DataNode的所有block都已经移到到其他的DataNode上了
但是该待删除的DataNode一直为Decommission In Progress
从日志上看:
该DataNode一直在进行DataBlockScanner,日志如下:
2012-09-24 16:47:51,301 INFO org.apache.hadoop.hdfs.server.datanode.DataBlockScanner: Verification failed for blk_3921915826611683588_8027. Its ok since it not in datanode dataset anymore.
2012-09-24 16:51:32,742 INFO org.apache.hadoop.hdfs.server.datanode.DataBlockScanner: Verification failed for blk_-902553692494195260_8082. Its ok since it not in datanode dataset anymore.
2012-09-24 16:56:06,284 INFO org.apache.hadoop.hdfs.server.datanode.DataBlockScanner: Verification failed for blk_9180843115150344245_25940. Its ok since it not in datanode dataset anymore.
2012-09-24 16:56:49,371 INFO org.apache.hadoop.hdfs.server.datanode.DataBlockScanner: Verification failed for blk_-5002984851235119528_31752. Its ok since it not in datanode dataset anymore.
2012-09-24 16:57:10,412 INFO org.apache.hadoop.hdfs.server.datanode.DataBlockScanner: Verification failed for blk_2897706191202607999_15164. Its ok since it not in datanode dataset anymore.
2012-09-24 16:57:24,440 INFO org.apache.hadoop.hdfs.server.datanode.DataBlockScanner: Verification failed for blk_3569549920590190118_27137. Its ok since it not in datanode dataset anymore.
2012-09-24 16:58:45,601 INFO org.apache.hadoop.hdfs.server.datanode.DataBlockScanner: Verification failed for blk_9070131173655120747_33437. Its ok since it not in datanode dataset anymore.
2012-09-24 16:59:23,681 INFO org.apache.hadoop.hdfs.server.datanode.DataBlockScanner: Verification failed for blk_-8158061507642883210_23376. Its ok since it not in datanode dataset anymore.
2012-09-24 16:59:32,698 INFO org.apache.hadoop.hdfs.server.datanode.DataBlockScanner: Verification failed for blk_1569989466833547348_21624. Its ok since it not in datanode dataset anymore.
2012-09-24 16:59:36,707 INFO org.apache.hadoop.hdfs.server.datanode.DataBlockScanner: Verification failed for blk_5530553709255233999_32763. Its ok since it not in datanode dataset anymore.
2012-09-24 16:59:38,711 INFO org.apache.hadoop.hdfs.server.datanode.DataBlockScanner: Verification failed for blk_7165837478027158747_24918. Its ok since it not in datanode dataset anymore.
NameNode的日志如下:(这个一直都有,我在想是不是这个的原因,10.10.10.150就是要删除的DataNode)
2012-09-24 17:04:39,082 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Block: blk_7215589835729902944_1601, Expected Replicas: 10, live replicas: 3, corrupt replicas: 0, decommissioned replicas: 1, excess replicas: 0, Is Open File: false, Datanodes having this block: 10.10.10.158:50010 10.10.10.151:50010 10.10.10.150:50010 10.10.10.23:50010 , Current Datanode: 10.10.10.150:50010, Is current datanode decommissioning: true |
|