[
https://issues.apache.org/jira/browse/HDFS-9043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14738851#comment-14738851
]
Allen Wittenauer commented on HDFS-9043:
----------------------------------------
bq. Shall we update the command to start-balancer.sh -policy which would be
common to both branch-2 and trunk
No, because sbin/* is mostly deprecated in trunk. This needs to be two
different patches for the two different branches.
> 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
>
> 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)