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

Hudson commented on AMBARI-12285:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #3058 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/3058/])
AMBARI-12285 - Alerts: HDFS Capacity Utilization Alert Always Shows 0% 
(jonathanhurley) (jhurley: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=9c1c7f9356490f0717b491bff33c4db84d2717ba)
* 
ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog210.java
* ambari-agent/src/main/python/ambari_agent/alerts/metric_alert.py
* ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/alerts.json
* ambari-server/src/main/resources/stacks/BIGTOP/0.8/services/HDFS/alerts.json
* ambari-agent/src/test/python/ambari_agent/TestAlerts.py


> Alerts: HDFS Capacity Utilization Alert Always Shows 0%
> -------------------------------------------------------
>
>                 Key: AMBARI-12285
>                 URL: https://issues.apache.org/jira/browse/AMBARI-12285
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-agent
>    Affects Versions: 2.0.0
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>            Priority: Critical
>             Fix For: 2.1.0
>
>         Attachments: AMBARI-12285.patch
>
>
> Some alerts, such as the HDFS capacity or DataNode capacity always show a 
> utilization of 0%, preventing any alert from triggering since the state is 
> always OK.
> This is due to integer division which causes the float percentage to be 
> rounded down to 0. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to