Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-15597

After enabling SSL for Resource Manager, getting a constant Ambari Alert: Connection failed to https://0.0.0.0:8044/ws/v1/node/info (No JSON object could be decoded)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.2
    • 2.2.2
    • ambari-server
    • None

    Description

      Enabled SSL for ResourceManager HA.
      The following parameter changed in yarn-site.xml

      <name>yarn.nodemanager.webapp.https.address</name>
      <value>0.0.0.0:8044</value>

      After implementing SSL, they started getting the following Ambari Alert from all the nodes.

      Connection failed to https://0.0.0.0:8044/ws/v1/node/info (No JSON object could be decoded)

      We tested the Python socket.getfqdn() inside the alert_nodemanager_health.py and it worked correctly.

      print socket.getfqdn("0.0.0.0")

      CAUSE:
      We think that Kerberos looks for the yarn.nodemanager.webapp.https.address hostname in yarn-site.xml and because it sees “0.0.0.0” instead of the hostname, it can’t get the keytabs of the host.

      Attachments

        1. AMBARI-15597.patch
          2 kB
          Dmitry Lysnichenko

        Issue Links

          Activity

            People

              dmitriusan Dmitry Lysnichenko
              dmitriusan Dmitry Lysnichenko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: