You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Madhuvanthi Radhakrishnan (JIRA)" <ji...@apache.org> on 2017/03/22 23:22:41 UTC

[jira] [Created] (AMBARI-20536) Alerts Which Fallback To A Port In Absence of a URI Fail

Madhuvanthi Radhakrishnan created AMBARI-20536:
--------------------------------------------------

             Summary: 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


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)