You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Srikanth Janardhan (JIRA)" <ji...@apache.org> on 2018/05/14 11:41:00 UTC

[jira] [Created] (AMBARI-23834) Rebalance HDFS fails

Srikanth Janardhan created AMBARI-23834:
-------------------------------------------

             Summary: Rebalance HDFS fails
                 Key: AMBARI-23834
                 URL: https://issues.apache.org/jira/browse/AMBARI-23834
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.7.0
            Reporter: Srikanth Janardhan
            Assignee: Dmytro Sen
             Fix For: 2.7.0


The rebalance HDFS from Ambari is not working. 

DFS Usage before rebalance (threshold of 1%)
{code:bash}
[cstm-hdfs@ctr-e138-1518143905142-299595-01-000008 root]$ hadoop dfsadmin -report | grep 'DFS Used%'
WARNING: Use of this script to execute dfsadmin is deprecated.
WARNING: Attempting to execute replacement "hdfs dfsadmin" instead.

DFS Used%: 4.21%
DFS Used%: 1.89%
DFS Used%: 3.40%
DFS Used%: 7.91%
DFS Used%: 3.47%
DFS Used%: 4.67%
DFS Used%: 3.54%
DFS Used%: 2.80%
{code}

After invoking the rebalance HDFS from Ambari UI, the /system/balancer.id file is not present (meaning balancer is not running)
{code:bash}
[cstm-hdfs@ctr-e138-1518143905142-299595-01-000008 root]$ while true; do echo 'checking /system'; hadoop fs -ls /system; sleep 1; done
checking /system
ls: `/system': No such file or directory
checking /system
ls: `/system': No such file or directory
checking /system
ls: `/system': No such file or directory
checking /system
ls: `/system': No such file or directory
checking /system
ls: `/system': No such file or directory
checking /system
^Cchecking /system

ls: `/system': No such file or directory
^C
[cstm-hdfs@ctr-e138-1518143905142-299595-01-000008 root]$ hadoop dfsadmin -report | grep 'DFS Used%'
WARNING: Use of this script to execute dfsadmin is deprecated.
WARNING: Attempting to execute replacement "hdfs dfsadmin" instead.

DFS Used%: 4.21%
DFS Used%: 1.89%
DFS Used%: 3.40%
DFS Used%: 7.91%
DFS Used%: 3.47%
DFS Used%: 4.67%
DFS Used%: 3.54%
DFS Used%: 2.80%
[cstm-hdfs@ctr-e138-1518143905142-299595-01-000008 root]$
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)