I agree. A decommission-meter would be a really helpful tool to monitor the progress of a decommission command.
Thanks, dhruba -----Original Message----- From: Andrzej Bialecki [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 27, 2007 9:45 AM To: [email protected] Subject: Re: Decommission in hadoop-0.12.2 Dhruba Borthakur wrote: > The decommission-in-progress state indicates that the Namenode is triggering > replication of blocks that reside on the node-being-decommissioned. When all > those blocks get replicated to another Datanode(s),then the state should > change to 'decommissioned". > > You can run a bin/hdoop fsck -blocks -locations -files to list out all the > locations of all blocks in the fs (this might take lots of time depending on > the number of files). Please verify if any of the blocks that reside on the > decommission-in-progress node have 2 replicas. Once all those blocks have > two replicas (because you have set replication factor to 1), the > decommissioning should be complete. ... though it would be nice if the report gave a "xx% complete" information ... -- Best regards, Andrzej Bialecki <>< ___. ___ ___ ___ _ _ __________________________________ [__ || __|__/|__||\/| Information Retrieval, Semantic Web ___|||__|| \| || | Embedded Unix, System Integration http://www.sigram.com Contact: info at sigram dot com
