----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/36268/#review90895 -----------------------------------------------------------
Ship it! Ship It! - Nate Cole On July 7, 2015, 1:54 p.m., Jonathan Hurley wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/36268/ > ----------------------------------------------------------- > > (Updated July 7, 2015, 1:54 p.m.) > > > Review request for Ambari, Alejandro Fernandez and Nate Cole. > > > Bugs: AMBARI-12317 > https://issues.apache.org/jira/browse/AMBARI-12317 > > > Repository: ambari > > > Description > ------- > > HDP 2.0.11 produces an alert for NameNode HA. The script is making a call to > jmx, which works fine in HDP 2.2.0: > > ``` > namenode:50070/jmx?qry=Hadoop:service=NameNode,name=NameNodeStatus > ``` > > Returns: > ``` > "name" : "Hadoop:service=NameNode,name=NameNodeStatus", > "modelerType" : "org.apache.hadoop.hdfs.server.namenode.NameNode", > "NNRole" : "NameNode", > "HostAndPort" : "cn030.l42scl.hortonworks.com:8020", > "SecurityEnabled" : true, > "State" : "active" > } ] > } > ``` > > In case of HDP 2.0.11, it returns: > ``` > { > "beans" : [ ] > } > ``` > > Additionally, I noticed that the curl_timeout was not being passed in some > cases, so we're passing that now. > > > Diffs > ----- > > ambari-agent/src/main/python/ambari_agent/alerts/metric_alert.py ece6063 > ambari-agent/src/main/python/ambari_agent/alerts/web_alert.py 04d1b01 > > ambari-common/src/main/python/resource_management/libraries/functions/curl_krb_request.py > b7adac4 > > ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/alerts/alert_checkpoint_time.py > 06e4c56 > > ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/alerts/alert_ha_namenode_health.py > e09ec3a > > ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/alerts/alert_nodemanager_health.py > a46ad93 > > ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/alerts/alert_nodemanagers_summary.py > 390576d > > Diff: https://reviews.apache.org/r/36268/diff/ > > > Testing > ------- > > Deploying an HA cluster on HDP 2.0 and 2.2 and verified the upgraded script > works. > > > Thanks, > > Jonathan Hurley > >
