Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-11691

Add a proper scheme to the datanode links in NN web UI

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-alpha4, 2.8.2
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      On the datanodes page of the namenode web UI, the datanode links may not be correct if the namenode is serving the page through http but https is also enabled. This is because dfshealth.js does not put a proper scheme in front of the address. It already determines whether the address is non-secure or secure. It can simply prepend http: or https: to what it is currently setting.

      The existing mechanism would work for YARN and MAPRED, since they can only serve one protocol, HTTP or HTTPS.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kihwal Kihwal Lee
                Reporter:
                kihwal Kihwal Lee
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: