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

Datanode UI should display hostname based on JMX bean instead of window.location.hostname

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.2, 2.7.3
    • Fix Version/s: 2.9.0, 3.0.0-beta1, 2.8.2
    • Component/s: hdfs
    • Labels:
      None
    • Environment:

      all

    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      Datanode UI calls "dn.js" which loads properties for datanode. "dn.js" sets "data.dn.HostName" datanode UI to "window.location.hostname", it should use a datanode property from jmx beans or an appropriate property. The issue is
      that if we use a proxy to access datanode UI we would show proxy hostanme instead of actual datanode hostname.
      I am proposing using Hadoop:service=DataNode,name=JvmMetrics" tag.Hostname field to do that.

        Attachments

        1. HDFS-11502.001.patch
          1 kB
          Jeffrey E Rodriguez
        2. HDFS-11502.002.patch
          1 kB
          Jeffrey E Rodriguez
        3. HDFS-11502.003.patch
          5 kB
          Jeffrey E Rodriguez
        4. HDFS-11502.004.patch
          3 kB
          Yuanbo Liu

          Activity

            People

            • Assignee:
              jeffreyr97 Jeffrey E Rodriguez
              Reporter:
              jeffreyr97 Jeffrey E Rodriguez
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: