[
https://issues.apache.org/jira/browse/AMBARI-20536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Madhuvanthi Radhakrishnan updated AMBARI-20536:
-----------------------------------------------
Status: Patch Available (was: Open)
> 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)