-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/37295/
-----------------------------------------------------------

Review request for Ambari and Dmytro Sen.


Bugs: AMBARI-12689
    https://issues.apache.org/jira/browse/AMBARI-12689


Repository: ambari


Description
-------

The Yarn NodeManager Health alert fails when kinit path is customized. This is 
due to a failure to pass the kinit search paths appropriately:

{code:title=common-services/YARN/2.1.0.2.0/package/alerts/alert_nodemanager_health.py:148}
      url_response, error_msg, time_millis  = curl_krb_request(env.tmp_dir, 
kerberos_keytab, kerberos_principal,
        query, "nm_health_alert", None, False, "NodeManager Health", smokeuser,
        connection_timeout=curl_connection_timeout)
{code}

Note the 6th parameter is {{None}} when it should contain the relevant search 
paths.


Diffs
-----

  
ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/alerts/alert_checkpoint_time.py
 c1e0b54 
  
ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/alerts/alert_ha_namenode_health.py
 a076825 
  
ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/alerts/alert_nodemanager_health.py
 05b6a2a 
  
ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/alerts/alert_nodemanagers_summary.py
 845b616 

Diff: https://reviews.apache.org/r/37295/diff/


Testing
-------

mvn clean test


Thanks,

Vitalyi Brodetskyi

Reply via email to