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

NPE caused by StoreFileScanner.updateReaders

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.2.0
    • 0.2.0
    • regionserver
    • None
    • CentOS 5.1 x86_64 / 64-bit JDK build 1.6.0_03-b05

    Description

      Running a test to determine performance during inserts of many 100,000s of cells into a single column family in a single row, the region server involved went down after taking a NPE:

      2008-07-17 18:12:18,051 FATAL org.apache.hadoop.hbase.regionserver.Flusher: Replay of hlog required. Forcing server restart
      org.apache.hadoop.hbase.DroppedSnapshotException
      at org.apache.hadoop.hbase.regionserver.HRegion.internalFlushcache(HRegion.java:1040)
      at org.apache.hadoop.hbase.regionserver.HRegion.flushcache(HRegion.java:942)
      at org.apache.hadoop.hbase.regionserver.Flusher.flushRegion(Flusher.java:174)
      at org.apache.hadoop.hbase.regionserver.Flusher.run(Flusher.java:93)
      Caused by: java.lang.NullPointerException
      at java.lang.String.<init>(String.java:516)
      at org.apache.hadoop.hbase.util.Bytes.toString(Bytes.java:71)
      at org.apache.hadoop.hbase.regionserver.StoreFileScanner.updateReaders(StoreFileScanner.java:374)
      at org.apache.hadoop.hbase.regionserver.HStore.notifyChangedReadersObservers(HStore.java:797)
      at org.apache.hadoop.hbase.regionserver.HStore.updateReaders(HStore.java:784)
      at org.apache.hadoop.hbase.regionserver.HStore.internalFlushCache(HStore.java:755)
      at org.apache.hadoop.hbase.regionserver.HStore.flushCache(HStore.java:682)
      at org.apache.hadoop.hbase.regionserver.HRegion.internalFlushcache(HRegion.java:1030)
      ... 3 more

      Any ideas about this one?

      Attachments

        1. columntest.java
          2 kB
          Andrew Kyle Purtell
        2. HRegionServer-sjdc-atr-test-4.log
          15 kB
          Andrew Kyle Purtell
        3. output.txt
          17 kB
          Andrew Kyle Purtell
        4. chart.png
          12 kB
          Andrew Kyle Purtell

        Activity

          People

            stack Michael Stack
            apurtell Andrew Kyle Purtell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: