ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hurley" <jhur...@hortonworks.com>
Subject Re: Review Request 32207: Wrong alert on added host on secure cluster
Date Wed, 18 Mar 2015 18:50:17 GMT

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

Ship it!


Ship It!

- Jonathan Hurley


On March 18, 2015, 1:37 p.m., Robert Levas wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/32207/
> -----------------------------------------------------------
> 
> (Updated March 18, 2015, 1:37 p.m.)
> 
> 
> 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