Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 05-23-2016 01:23 PM
Created 05-23-2016 01:29 PM
You don't need to restart HDP 2.4 cluster. But it is recommended to decommission the node with dead disk, change the disk and add it back to the cluster. This will ensure that data is evenly distributed on all the data disks on this node.
1. To decommission, go to ambari -> Host -> Datanode. That has an option to decommission.
2. Go to nodemanager to decommission it as well.
3. Once it goes to decommissioned state, stop Datanode and nodemanager on that host and replace the disk.
4. Start datanode and nodemanager back.
5. You will see an option to recommission at the same place. You can click on it to take it out of decommissioned state.
No other services across the cluster need to be stopped and if you have more than 3 datanodes and your default rep. factor is 3, all services will continue.
Created 05-23-2016 01:29 PM
You don't need to restart HDP 2.4 cluster. But it is recommended to decommission the node with dead disk, change the disk and add it back to the cluster. This will ensure that data is evenly distributed on all the data disks on this node.
1. To decommission, go to ambari -> Host -> Datanode. That has an option to decommission.
2. Go to nodemanager to decommission it as well.
3. Once it goes to decommissioned state, stop Datanode and nodemanager on that host and replace the disk.
4. Start datanode and nodemanager back.
5. You will see an option to recommission at the same place. You can click on it to take it out of decommissioned state.
No other services across the cluster need to be stopped and if you have more than 3 datanodes and your default rep. factor is 3, all services will continue.
Created 05-23-2016 02:01 PM
Or if you want to do it in a dirty way. ( Ravi's way is obviously cleaner ). Replace the drive make sure it works and restart the datanode. Same effect but the datanode will be out of the system for a shorter period of time.