FAQ
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

Search Discussions

  • Suresh Srinivas (JIRA) at Jun 15, 2011 at 8:41 pm
    [ 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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouphdfs-dev @
categorieshadoop
postedApr 5, '11 at 11:40p
activeJun 15, '11 at 8:41p
posts2
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Suresh Srinivas (JIRA): 2 posts

People

Translate

site design / logo © 2022 Grokbase