You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Owen O'Malley (JIRA)" <ji...@apache.org> on 2011/04/06 01:40:05 UTC

[jira] [Created] (HDFS-1811) Create scripts to decommission datanodes

Create scripts to decommission datanodes
----------------------------------------

                 Key: HDFS-1811
                 URL: https://issues.apache.org/jira/browse/HDFS-1811
             Project: Hadoop HDFS
          Issue Type: Improvement
            Reporter: Owen O'Malley
            Assignee: Erik Steffl


Create scripts to decommission datanodes:

  - distribute exclude file
    - input is location of exclude file
    - location on namenodes: hdfs getconf -excludeFile
    - list of namenodes: hdfs getconf -namenodes
    - scp excludes files to all namenodes

  - refresh namenodes
    - list of namenodes: hdfs getconf -namenodes
    - refresh namenodes: hdfs dfsadmin -refreshNodes

Two scripts are needed because each of them might require different permissions.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (HDFS-1811) Create scripts to decommission datanodes

Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-1811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suresh Srinivas resolved HDFS-1811.
-----------------------------------

    Resolution: Duplicate

Already fixed as a part of HDFS-1703.

> Create scripts to decommission datanodes
> ----------------------------------------
>
>                 Key: HDFS-1811
>                 URL: https://issues.apache.org/jira/browse/HDFS-1811
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Owen O'Malley
>            Assignee: Erik Steffl
>
> Create scripts to decommission datanodes:
>   - distribute exclude file
>     - input is location of exclude file
>     - location on namenodes: hdfs getconf -excludeFile
>     - list of namenodes: hdfs getconf -namenodes
>     - scp excludes files to all namenodes
>   - refresh namenodes
>     - list of namenodes: hdfs getconf -namenodes
>     - refresh namenodes: hdfs dfsadmin -refreshNodes
> Two scripts are needed because each of them might require different permissions.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira