ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Levas" <rle...@hortonworks.com>
Subject Review Request 32207: Wrong alert on added host on secure cluster
Date Wed, 18 Mar 2015 17:34:51 GMT

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

Review request for Ambari, Emil Anca and Jonathan Hurley.


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


Repository: ambari


Description
-------

**STR**
Install HDP
Enable security
Add host with datanode

**Result**
For added host there is an alert:
Connection failed to http://c6404.ambari.apache.org:1022
Manually this webpage is avaliable

**Expected**
No alert

**Cause**
The error that gets generated is 
```
Local variable 'error_msg' might be referenced before assignment
```

**Solution**
Fix Python code by initializing `error_msg` properly.


Diffs
-----

  ambari-agent/src/main/python/ambari_agent/alerts/web_alert.py 1a6540a 

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


Testing
-------

Manually tested in cluster


Thanks,

Robert Levas


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message