[
https://issues.apache.org/jira/browse/HDFS-9043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14742983#comment-14742983
]
J.Andreina commented on HDFS-9043:
----------------------------------
Thanks [~aw] for the comments.
bq. The given trunk patch appears to be missing the same fixes as the branch-2
patch
In trunk already command is updated correctly using hdfs as :
{noformat}
[hdfs]$ $HADOOP_PREFIX/bin/hdfs --daemon start balancer [-policy <policy>]
{noformat}
bq. Also, if we're going to bother with this, let's make it complete: all of
the sbin commands should get replaced with their equivalent bin versions since
sbin is mostly deprecated.
Currently the sbin commands used are :
{noformat}
sbin/refresh-namenodes.sh
sbin/distribute-exclude.sh
sbin/stop-dfs.sh
sbin/start-dfs.sh
{noformat}
And for above commands there is no alternative yet.
Please correct me if iam wrong .
> Doc updation for commands in HDFS Federation
> --------------------------------------------
>
> Key: HDFS-9043
> URL: https://issues.apache.org/jira/browse/HDFS-9043
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: documentation
> Reporter: J.Andreina
> Assignee: J.Andreina
> Priority: Minor
> Attachments: HDFS-9043-1.patch, HDFS-9043-branch-2-1.patch,
> HDFS-9043-branch-2.7.0-1.patch
>
>
> 1. command is wrong
> {noformat}
> $HADOOP_PREFIX/bin/hdfs dfsadmin -refreshNameNode
> <datanode_host_name>:<datanode_rpc_port>
> {noformat}
> Correct command is : hdfs dfsadmin -refreshNameNode's'
> 2.command is wrong
> {noformat}
> $HADOOP_PREFIX/sbin/hadoop-daemon.sh --config $HADOOP_CONF_DIR --script
> $HADOOP_PREFIX/bin/hdfs start balancer
> {noformat}
> Correct command is : *start-balancer.sh -policy*
> 3. Reference link to balancer for further details is wrong
> {noformat}
> Note that Balancer only balances the data and does not balance the namespace.
> For the complete command usage, see balancer.
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)