----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/45215/ -----------------------------------------------------------
Review request for Ambari, Nate Cole and Sid Wagle. Bugs: AMBARI-15533 https://issues.apache.org/jira/browse/AMBARI-15533 Repository: ambari Description ------- SCRIPT alerts stuck in UNKNWN status with response message 'invalid literal for int() with base 10: '50.0''. It is noticed that the error is thrown only after a PUT alertDefinition call to update few parameters of alert definition since the numeric values are changed into strings. The scripts need to safely cast their parameters; the fix is in the script here. Diffs ----- ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/alerts/alert_metrics_deviation.py f62c4a3 Diff: https://reviews.apache.org/r/45215/diff/ Testing ------- Deployed on a cluster exibiting the cast problem. Thanks, Jonathan Hurley