hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Srinivas (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-1998) make refresh-namodenodes.sh refreshing all namenodes
Date Wed, 01 Jun 2011 20:41:47 GMT

    [ https://issues.apache.org/jira/browse/HDFS-1998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042409#comment-13042409
] 

Suresh Srinivas commented on HDFS-1998:
---------------------------------------

# Could you please add a unit test for the new method.
# Why are you printing empty string as error in NNRpcAddressesCommandHandler?
# Command description "name node" to "namenode"
# In the script you are setting errorFlag before for loop. But you are not using that value
and still enter for loop?

> make refresh-namodenodes.sh refreshing all namenodes
> ----------------------------------------------------
>
>                 Key: HDFS-1998
>                 URL: https://issues.apache.org/jira/browse/HDFS-1998
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 0.23.0
>            Reporter: Tanping Wang
>            Assignee: Tanping Wang
>            Priority: Minor
>             Fix For: 0.23.0
>
>         Attachments: HDFS-1998.patch
>
>
> refresh-namenodes.sh is used to refresh name nodes in the cluster to check for updates
of include/exclude list.  It is used when decommissioning or adding a data node.  Currently
it only refreshes the name node who serves the defaultFs, if there is defaultFs defined. 
Fix it by refreshing all the name nodes in the cluster.

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

Mime
View raw message