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

ASF GitHub Bot updated AMBARI-23834:
------------------------------------
    Labels: pull-request-available  (was: )

> 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
>            Priority: Blocker
>              Labels: pull-request-available
>             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)

Reply via email to