Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-2756

NPE in DFSClient in hbase under load

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.16.0
    • Fix Version/s: 0.16.1
    • Component/s: None
    • Labels:
      None

      Description

      Saw this in logs:

      2008-01-31 18:55:02,128 ERROR org.apache.hadoop.hbase.HRegionServer: Compaction failed for region TestTable,0009438931,1201805282651
      java.lang.NullPointerException
              at org.apache.hadoop.dfs.DFSClient$DFSOutputStream.close(DFSClient.java:2262)
              at org.apache.hadoop.fs.FSDataOutputStream$PositionCache.close(FSDataOutputStream.java:51)
              at org.apache.hadoop.fs.FSDataOutputStream.close(FSDataOutputStream.java:67)
              at org.apache.hadoop.hbase.HStoreFile.writeInfo(HStoreFile.java:365)
              at org.apache.hadoop.hbase.HStore.compact(HStore.java:1236) 
              at org.apache.hadoop.hbase.HRegion.compactStores(HRegion.java:775)
              at org.apache.hadoop.hbase.HRegion.compactIfNeeded(HRegion.java:707)
              at org.apache.hadoop.hbase.HRegionServer$CompactSplitThread.run(HRegionServer.java:253)
      

      Look to see if the response data method needs to be made volatile (There's a test for null just before we use it on line #2262).

        Attachments

        1. HADOOP-2756.patch
          1 kB
          Raghu Angadi
        2. HADOOP-2756.patch
          0.7 kB
          Raghu Angadi

          Issue Links

            Activity

              People

              • Assignee:
                rangadi Raghu Angadi
                Reporter:
                stack Michael Stack
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: