Hadoop Common
  1. Hadoop Common
  2. HADOOP-4137

NPE in GangliaContext.xdr_string (GangliaContext.java:195)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 0.18.0, 0.18.1
    • Fix Version/s: None
    • Component/s: metrics
    • Labels:
      None

      Description

      Exception in thread "Timer thread for monitoring dfs" java.lang.NullPointerException
      at org.apache.hadoop.metrics.ganglia.GangliaContext.xdr_string(GangliaContext.java:195)
      at org.apache.hadoop.metrics.ganglia.GangliaContext.emitMetric(GangliaContext.java:138)
      at org.apache.hadoop.metrics.ganglia.GangliaContext.emitRecord(GangliaContext.java:123)
      at org.apache.hadoop.metrics.spi.AbstractMetricsContext.emitRecords(AbstractMetricsContext.java:304)
      at org.apache.hadoop.metrics.spi.AbstractMetricsContext.timerEvent(AbstractMetricsContext.java:290)
      at org.apache.hadoop.metrics.spi.AbstractMetricsContext.access$000(AbstractMetricsContext.java:50)
      at org.apache.hadoop.metrics.spi.AbstractMetricsContext$1.run(AbstractMetricsContext.java:249)
      at java.util.TimerThread.mainLoop(Unknown Source)
      at java.util.TimerThread.run(Unknown Source)

      It looks like this caused the datanode to hang, though I accidentally killed the datanode before I could dump its stack.

      1. hadoop_ganglia_npe-4137.patch
        1 kB
        Brian Bockelman
      2. hadoop_ganglia_npe-4137.patch
        1 kB
        Brian Bockelman

        Issue Links

          Activity

          Nigel Daley made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Brian Bockelman made changes -
          Resolution Duplicate [ 3 ]
          Status Open [ 1 ] Resolved [ 5 ]
          Brian Bockelman made changes -
          Link This issue duplicates HADOOP-3422 [ HADOOP-3422 ]
          Chris Douglas made changes -
          Link This issue relates to HADOOP-3422 [ HADOOP-3422 ]
          Chris Douglas made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Brian Bockelman made changes -
          Attachment hadoop_ganglia_npe-4137.patch [ 12391685 ]
          Brian Bockelman made changes -
          Attachment hadoop_ganglia_npe-4137.patch [ 12391474 ]
          Brian Bockelman made changes -
          Field Original Value New Value
          Affects Version/s 0.18.1 [ 12313357 ]
          Status Open [ 1 ] Patch Available [ 10002 ]
          Michael Bieniosek created issue -

            People

            • Assignee:
              Unassigned
              Reporter:
              Michael Bieniosek
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development