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

Akhil S Naik updated AMBARI-22625:
----------------------------------
    Description: 
 'NON DFS Used' value  in Services -> HDFS -> Summary if different from the 
Value shown in NameNode UI (see Picture).

in NAMENODE UI -->
!https://issues.apache.org/jira/secure/attachment/12901501/namenode.png!
In Services -> HDFS -> Summary
!https://issues.apache.org/jira/secure/attachment/12901499/ambari-2.png!




In NameNode UI the Non DFS Used is taken from 'NonDfsUsedSpace' variable from  
REST API call : 
http://host1:50070/jmx?qry=Hadoop:service=NameNode,name=NameNodeInfo 
Where host1 is the Name Node Server FQDN

but in Ambari we are calculating the same value from (Total Allocated - DFS 
USed - DFS Remaining) .

due to which this issue is happening.


as a Fix we need to use the 'capacityNonDfsUsed' which comes from Server in 
NameNode metrics
'FSNamesystem > CapacityNonDFSUsed'

attached the patch in the JIRA.
Please fix this bug



  was:
 'NON DFS Used' value  in Services -> HDFS -> Summary if different from the 
Value shown in NameNode UI (see Picture).

in NAMENODE UI -->
!namenode.png|thumbnail!
In Services -> HDFS -> Summary
!ambari-2.png|thumbnail!


In NameNode UI the Non DFS Used is taken from 'NonDfsUsedSpace' variable from  
REST API call : 
http://host1:50070/jmx?qry=Hadoop:service=NameNode,name=NameNodeInfo 
Where host1 is the Name Node Server FQDN

but in Ambari we are calculating the same value from (Total Allocated - DFS 
USed - DFS Remaining) .

due to which this issue is happening.


as a Fix we need to use the 'capacityNonDfsUsed' which comes from Server in 
NameNode metrics
'FSNamesystem > CapacityNonDFSUsed'

attached the patch in the JIRA.
Please fix this bug




> Non DFS Used from HDFS Namenode UI and HDFS summary in Ambari  is different
> ---------------------------------------------------------------------------
>
>                 Key: AMBARI-22625
>                 URL: https://issues.apache.org/jira/browse/AMBARI-22625
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-client
>    Affects Versions: 2.5.2
>            Reporter: Akhil S Naik
>            Priority: Minor
>              Labels: easyfix, newbie
>         Attachments: ambari-2.png, namenode.png
>
>
>  'NON DFS Used' value  in Services -> HDFS -> Summary if different from the 
> Value shown in NameNode UI (see Picture).
> in NAMENODE UI -->
> !https://issues.apache.org/jira/secure/attachment/12901501/namenode.png!
> In Services -> HDFS -> Summary
> !https://issues.apache.org/jira/secure/attachment/12901499/ambari-2.png!
> In NameNode UI the Non DFS Used is taken from 'NonDfsUsedSpace' variable from 
>  REST API call : 
> http://host1:50070/jmx?qry=Hadoop:service=NameNode,name=NameNodeInfo 
> Where host1 is the Name Node Server FQDN
> but in Ambari we are calculating the same value from (Total Allocated - DFS 
> USed - DFS Remaining) .
> due to which this issue is happening.
> as a Fix we need to use the 'capacityNonDfsUsed' which comes from Server in 
> NameNode metrics
> 'FSNamesystem > CapacityNonDFSUsed'
> attached the patch in the JIRA.
> Please fix this bug



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to