[ 
https://issues.apache.org/jira/browse/AMBARI-20536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15943740#comment-15943740
 ] 

Jayush Luniya commented on AMBARI-20536:
----------------------------------------

Trunk
commit 51e6a82dfb47f4b1946aaa14391e5323ac69c99d
Author: Jayush Luniya <[email protected]>
Date:   Mon Mar 27 10:56:20 2017 -0700

    AMBARI-20536: Alerts Which Fallback To A Port In Absence of a URI Fail 
(Madhuvanthi Radhakrishnan via jluniya)

> Alerts Which Fallback To A Port In Absence of a URI Fail
> --------------------------------------------------------
>
>                 Key: AMBARI-20536
>                 URL: https://issues.apache.org/jira/browse/AMBARI-20536
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Madhuvanthi Radhakrishnan
>            Assignee: Madhuvanthi Radhakrishnan
>             Fix For: 3.0.0
>
>         Attachments: AMBARI-20536.patch
>
>
> AMBARI-20427 breaks the fallback behavior of WEB and METRIC alerts. In the 
> event that a URI cannot be found, alerts will fallback to checking the 
> default port of the current host.
> In the absence of yarn.nodemanager.webapp.address it will check 8042 which is 
> the default port.
> However, the above change produces this error, which causes the port to not 
> be parsed correctly:
> object has no attribute 'strip'
> This is because alert_uri.uri is an integer when its passed in.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to