[
https://issues.apache.org/jira/browse/AMBARI-20536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15943818#comment-15943818
]
Hudson commented on AMBARI-20536:
---------------------------------
SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #7158 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/7158/])
AMBARI-20536: Alerts Which Fallback To A Port In Absence of a URI Fail
(jluniya:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=51e6a82dfb47f4b1946aaa14391e5323ac69c99d])
* (edit)
ambari-agent/src/test/python/resource_management/TestLibraryFunctions.py
* (edit)
ambari-common/src/main/python/resource_management/libraries/functions/get_port_from_url.py
> 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)