[
https://issues.apache.org/jira/browse/AMBARI-22625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Akhil S Naik updated AMBARI-22625:
----------------------------------
Attachment: (was: release2.5.2.patch)
> 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-web
> Affects Versions: 2.5.2
> Reporter: Akhil S Naik
> Priority: Minor
> Fix For: 2.6.0
>
> 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)