You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Weiwei Yang (JIRA)" <ji...@apache.org> on 2017/05/24 01:19:04 UTC

[jira] [Resolved] (HDFS-11871) balance include Parameter Usage Error

     [ https://issues.apache.org/jira/browse/HDFS-11871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Weiwei Yang resolved HDFS-11871.
--------------------------------
    Resolution: Not A Problem

> balance include Parameter Usage Error
> -------------------------------------
>
>                 Key: HDFS-11871
>                 URL: https://issues.apache.org/jira/browse/HDFS-11871
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: balancer & mover
>    Affects Versions: 2.7.3
>            Reporter: kevy liu
>            Assignee: Weiwei Yang
>            Priority: Trivial
>
> [hadoop@bigdata-hdp-apache505 hadoop-2.7.2]$ bin/hdfs balancer -h
> Usage: hdfs balancer
>         [-policy <policy>]      the balancing policy: datanode or blockpool
>         [-threshold <threshold>]        Percentage of disk capacity
>         [-exclude [-f <hosts-file> | <comma-separated list of hosts>]]  Excludes the specified datanodes.
>         [-include [-f <hosts-file> | <comma-separated list of hosts>]]  Includes only the specified datanodes.
>         [-idleiterations <idleiterations>]      Number of consecutive idle iterations (-1 for Infinite) before exit.
> Parameter Description:
> -f <hosts-file> | <comma-separated list of hosts> 
> The parse separator in the code is:
> String[] nodes = line.split("[ \t\n\f\r]+");



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org