- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Decommission of datanode
- Labels:
-
Apache Hadoop
Created ‎01-05-2016 03:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
https://cwiki.apache.org/confluence/display/AMBARI...
When the REST API is used to trigger the decommission of the datanode a request ID is returned since its an async operation (see https://github.com/apache/ambari/blob/trunk/ambari...)
After polling on the status of the returned request ID for sometime, the request status shows "COMPLETED". However the decommission is actually still progressing (incomplete!)
Is this a bug ? Shouldn't the Ambari asynchronous request be marked COMPLETED only after the decommission has finished completely ?
Created ‎01-05-2016 03:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The decommission request from does not wait for decommission to complete - it issues the decommission command to hdfs and then hdfs asynchronously continues the decommissioning operation. At this point the jmx data from NN has to be monitored from the outside to know when hdfs completes decommissioning.
Created ‎01-05-2016 03:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The decommission request from does not wait for decommission to complete - it issues the decommission command to hdfs and then hdfs asynchronously continues the decommissioning operation. At this point the jmx data from NN has to be monitored from the outside to know when hdfs completes decommissioning.
Created ‎01-05-2016 04:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks. It would be helpful to update the cwiki.apache.org URL referred above with information on how to wait for decommission to complete
