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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.7.2, 2.7.3
    • 2.9.0, 3.0.0-beta1, 2.8.2
    • hdfs
    • None
    • all

    • 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.004.patch
          3 kB
          Yuanbo Liu
        2. HDFS-11502.003.patch
          5 kB
          Jeffrey E Rodriguez
        3. HDFS-11502.002.patch
          1 kB
          Jeffrey E Rodriguez
        4. HDFS-11502.001.patch
          1 kB
          Jeffrey E Rodriguez

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: