Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-1114

Weird NPEs compacting

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.19.0
    • None
    • None

    Description

      Over on apurtell cluster, hbase TRUNK on hadoop 0.18.0 branch, see below.

      They are weird because first would seem to be an empty fileystem data member and the second's line number is start of the method and even then, we check for null everywhere first before doing stuff in here (because of Erik Holstad experience in past).

      2009-01-09 16:28:21,262 INFO org.apache.hadoop.hbase.regionserver.HRegion: starting  compaction on region content,c84bbfc94b2143e41ba119d159be2958,1231518442461
      2009-01-09 16:28:21,265 ERROR org.apache.hadoop.hbase.regionserver.CompactSplitThread: Compaction failed for region content,c84bbfc94b2143e41ba119d159be2958,1231518442461
      java.lang.NullPointerException
              at org.apache.hadoop.hbase.regionserver.HStore.compact(HStore.java:869)
              at org.apache.hadoop.hbase.regionserver.HRegion.compactStores(HRegion.java:709)
              at org.apache.hadoop.hbase.regionserver.HRegion.compactStores(HRegion.java:666)
              at org.apache.hadoop.hbase.regionserver.CompactSplitThread.run(CompactSplitThread.java:105)
      2009-01-09 16:28:45,896 ERROR org.apache.hadoop.hbase.regionserver.HRegionServer: java.lang.NullPointerException
      2009-01-09 16:28:45,896 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 2 on 60020, call next(3999959915225939603, 30) from XX.XX.XX.33:36665: error: java.io.IOException: java.lang.NullPointerException
      java.io.IOException: java.lang.NullPointerException
              at org.apache.hadoop.hbase.regionserver.HRegionServer.checkOOME(HRegionServer.java:696)
              at org.apache.hadoop.hbase.regionserver.HRegionServer.cleanup(HRegionServer.java:664)
              at org.apache.hadoop.hbase.regionserver.HRegionServer.cleanup(HRegionServer.java:648)
              at org.apache.hadoop.hbase.regionserver.HRegionServer.next(HRegionServer.java:1579)
              at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.apache.hadoop.hbase.ipc.HBaseRPC$Server.call(HBaseRPC.java:632)
              at org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:894)
      2009-01-09 16:28:47,947 ERROR org.apache.hadoop.hbase.regionserver.HRegionServer: java.lang.NullPointerException
      2009-01-09 16:28:47,948 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 9 on 60020, call next(3999959915225939603, 30) from XX.XX.XX.33:36665: error: java.io.IOException: java.lang.NullPointerException
      java.io.IOException: java.lang.NullPointerException
              at org.apache.hadoop.hbase.regionserver.HRegionServer.checkOOME(HRegionServer.java:696)
              at org.apache.hadoop.hbase.regionserver.HRegionServer.cleanup(HRegionServer.java:664)
              at org.apache.hadoop.hbase.regionserver.HRegionServer.cleanup(HRegionServer.java:648)
              at org.apache.hadoop.hbase.regionserver.HRegionServer.next(HRegionServer.java:1579)
              at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.apache.hadoop.hbase.ipc.HBaseRPC$Server.call(HBaseRPC.java:632)
              at org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:894)
      

      Attachments

        1. 1104-filestatus.patch
          0.7 kB
          Andrew Kyle Purtell

        Activity

          People

            stack Michael Stack
            stack Michael Stack
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: