hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ming Ma (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-9392) Admins support for maintenance state
Date Fri, 19 Aug 2016 17:51:21 GMT

     [ https://issues.apache.org/jira/browse/HDFS-9392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Ming Ma updated HDFS-9392:
    Attachment: HDFS-9392.patch

Here is the draft patch. It also includes datanode state machine transition under some scenarios
and part of HDFS-9388 to reuse test code. The complete state machine transition such as ENTERING_MAINTENANCE
to IN_MAINTENANCE and the block management will be handled by HDFS-9390.

* Add maintenance support to the json based configuration.
* If the DN is {{DECOMMISSIONED}} or {{DEAD}}, transition it to {{IN_MAINTENANCE}}.
* If the DN is {{NORMAL, Live}} or {{DECOMMISSION_IN_PROGRESS, Live}}, transition it to {{ENTERING_MAINTENANCE,
* Upon maintenance expiration, transition it to {{NORMAL}} state.

> Admins support for maintenance state
> ------------------------------------
>                 Key: HDFS-9392
>                 URL: https://issues.apache.org/jira/browse/HDFS-9392
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Ming Ma
>         Attachments: HDFS-9392.patch
> This is to allow admins to put nodes into maintenance state with optional timeout value
as well as take nodes out of maintenance state. Likely we will leverage what we come up in

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org

View raw message