ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksandr Kovalenko (JIRA)" <>
Subject [jira] [Created] (AMBARI-6825) Balancer threshold has invalid range
Date Tue, 12 Aug 2014 11:37:12 GMT
Aleksandr Kovalenko created AMBARI-6825:

             Summary: Balancer threshold has invalid range
                 Key: AMBARI-6825
             Project: Ambari
          Issue Type: Bug
          Components: client
    Affects Versions: 1.7.0
            Reporter: Aleksandr Kovalenko
            Assignee: Aleksandr Kovalenko
             Fix For: 1.7.0

# Click on 'Rebalance HDFS'
# Enter 0 as threshold.

*Result:* 'Start' is active.

Note: execution of rebalancer with zero threshold responses with error:
[hdfs@c6401 bigdata]$ hadoop --config /etc/hadoop/conf balancer -threshold 0
DEPRECATED: Use of this script to execute hdfs command is deprecated.
Instead use the hdfs command for it.

Expecting a number in the range of [1.0, 100.0]: 0
Usage: java Balancer
	[-policy <policy>]	the balancing policy: datanode or blockpool
	[-threshold <threshold>]	Percentage of disk capacity
	[-exclude <hosts-file>]	Excludes the datanodes in hosts-file
	[-include <hosts-file>]	Includes only the datanodes in hosts-file

Balancing took 1.058 seconds
14/08/11 15:43:01 ERROR balancer.Balancer: Exiting balancer due an exception
java.lang.IllegalArgumentException: Number out of range: threshold = 0.0
	at org.apache.hadoop.hdfs.server.balancer.Balancer$Cli.parse(
	at org.apache.hadoop.hdfs.server.balancer.Balancer$
	at org.apache.hadoop.hdfs.server.balancer.Balancer.main(

This message was sent by Atlassian JIRA

View raw message