Akhil S Naik created AMBARI-22625:
-------------------------------------
Summary: 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
the 'NON DFS Used' value in Services -> HDFS -> Summary if different from the
Value shown in NameNode UI .
in NAMENODE UI -->
!namenode.jpg|thumbnail!
In Services -> HDFS -> Summary
!ambari.jpg|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
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)