I see. Decommission of DataNodes via Ambari should automatically start the process of moving off blocks to other remaining DataNodes to ensure that the replication factor of 3 is reached. How did you trigger decommission on the 5 DataNodes? Once you trigger decommission, Ambari should show the DataNodes as "Decommissioning" if you drill down to the Host Detail page of the said hosts. Decommission process can take a long time, depending on the number of blocks involved. You can also check the NameNode Web UI (available from QuickLinks) to verify that the DataNodes are indeed decommissioning.
Yusaku On Wed, Nov 26, 2014 at 11:41 AM, Alma Bob <[email protected]> wrote: > In this test I tried with 20 nodes with replication 3. I generated 3TB data > and started to decommission 5 nodes and the fsck reported as replication is > 3 but found block 2 in many cases. > > On November 26, 2014 at 8:34:20 PM, Yusaku Sako ([email protected]) > wrote: > > How many DataNodes do you have in your cluster, and what is your > replication factor (dfs.replication in hdfs-site.xml)? > > Yusaku > > On Wed, Nov 26, 2014 at 11:11 AM, Alma Bob <[email protected]> wrote: >> Hi, >> >> I've been trying to remove nodes from the cluster and as it seems to me >> the Datanode decommission does not move any data from the nodes. If I check >> with fsck it reports missing blocks. I'm using Ambari 1.6.0. Is it supposed >> to move data at all or I should take care of it? >> >> Best Regards, >> Bob >> >> > > -- > CONFIDENTIALITY NOTICE > NOTICE: This message is intended for the use of the individual or entity to > which it is addressed and may contain information that is confidential, > privileged and exempt from disclosure under applicable law. If the reader > of this message is not the intended recipient, you are hereby notified that > any printing, copying, dissemination, distribution, disclosure or > forwarding of this communication is strictly prohibited. If you have > received this communication in error, please contact the sender immediately > and delete it from your system. Thank You. -- CONFIDENTIALITY NOTICE NOTICE: This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential, privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any printing, copying, dissemination, distribution, disclosure or forwarding of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank You.
