Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-412

Hadoop JMX usage makes Nagios monitoring impossible

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      When Hadoop reports Datanode information to JMX, the bean uses the name "DataNode-" + storageid. The storage ID incorporates a random number and is unpredictable.

      This prevents me from monitoring DFS datanodes through Hadoop using the JMX interface; in order to do that, you must be able to specify the bean name on the command line.

      The fix is simple, patch will be coming momentarily. However, there was probably a reason for making the datanodes all unique names which I'm unaware of, so it'd be nice to hear from the metrics maintainer.

      1. jmx_name.patch
        0.7 kB
        Brian Bockelman
      2. jmx_name_replaced.patch
        0.7 kB
        Brian Bockelman
      3. hadoop-4482.patch
        3 kB
        Tom White
      4. hdfs-412.patch
        3 kB
        Tom White

        Issue Links

          Activity

          Tom White made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Tom White made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags [Reviewed]
          Resolution Fixed [ 1 ]
          Tom White made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Fix Version/s 0.21.0 [ 12314046 ]
          Tom White made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Tom White made changes -
          Attachment hdfs-412.patch [ 12411401 ]
          Tom White made changes -
          Project Hadoop Common [ 12310240 ] HDFS [ 12310942 ]
          Key HADOOP-4482 HDFS-412
          Affects Version/s 0.18.1 [ 12313357 ]
          Fix Version/s 0.19.2 [ 12313650 ]
          Component/s metrics [ 12310971 ]
          Nigel Daley made changes -
          Fix Version/s 0.20.0 [ 12313438 ]
          Nigel Daley made changes -
          Fix Version/s 0.19.2 [ 12313650 ]
          Fix Version/s 0.19.1 [ 12313473 ]
          Tom White made changes -
          Hadoop Flags [Reviewed]
          Status Reopened [ 4 ] Patch Available [ 10002 ]
          Tom White made changes -
          Attachment hadoop-4482.patch [ 12400111 ]
          Nigel Daley made changes -
          Fix Version/s 0.20.0 [ 12313438 ]
          Owen O'Malley made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Tsz Wo Nicholas Sze made changes -
          Link This issue is related to HADOOP-4520 [ HADOOP-4520 ]
          Tsz Wo Nicholas Sze made changes -
          Link This issue is blocked by HADOOP-4520 [ HADOOP-4520 ]
          Tsz Wo Nicholas Sze made changes -
          Link This issue is blocked by HADOOP-4520 [ HADOOP-4520 ]
          Owen O'Malley made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags [Reviewed]
          Resolution Fixed [ 1 ]
          Owen O'Malley made changes -
          Assignee Brian Bockelman [ bockelman ]
          dhruba borthakur made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Brian Bockelman made changes -
          Attachment jmx_name_replaced.patch [ 12392618 ]
          Brian Bockelman made changes -
          Field Original Value New Value
          Attachment jmx_name.patch [ 12392602 ]
          Brian Bockelman created issue -

            People

            • Assignee:
              Brian Bockelman
              Reporter:
              Brian Bockelman
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development