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

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

    [ https://issues.apache.org/jira/browse/AMBARI-23834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16480475#comment-16480475 ] 

Hudson commented on AMBARI-23834:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #9284 (See [https://builds.apache.org/job/Ambari-trunk-Commit/9284/])
[AMBARI-23834] Rebalance HDFS fails (dsen) (#1312) (github: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=c4c31492ecd78316d7e8fb372eef41ca4d3fbb87])
* (edit) ambari-common/src/main/python/resource_management/core/shell.py


> 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
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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)