hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Owen O'Malley (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-1811) Create scripts to decommission datanodes
Date Tue, 05 Apr 2011 23:40:05 GMT
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

Mime
View raw message