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

Compaction failed when execute AbstractMultiFileWriter.beforeShipped() method

    XMLWordPrintableJSON

Details

    • Reviewed
    • Hide
      2018-11-23 15:36:20,176 ERROR [regionserver/ml42:16020-longCompactions-1542957876702] regionserver.CompactSplit: Compaction failed region=test_db_zero9,4071\x009223370493980145710\x001,1542958557994.3b1f0283a8d07a2469e5e87f87d827da., storeName=cf, priority=59, startTime=1542958579969
      java.lang.NullPointerException
      at org.apache.hadoop.hbase.regionserver.AbstractMultiFileWriter.beforeShipped(AbstractMultiFileWriter.java:124)
      at org.apache.hadoop.hbase.regionserver.compactions.Compactor.performCompaction(Compactor.java:432)
      at org.apache.hadoop.hbase.regionserver.compactions.Compactor.compact(Compactor.java:327)
      at org.apache.hadoop.hbase.regionserver.compactions.DateTieredCompactor.compact(DateTieredCompactor.java:64)
      at org.apache.hadoop.hbase.regionserver.DateTieredStoreEngine$DateTieredCompactionContext.compact(DateTieredStoreEngine.java:96)
      at org.apache.hadoop.hbase.regionserver.HStore.compact(HStore.java:1407)
      at org.apache.hadoop.hbase.regionserver.HRegion.compact(HRegion.java:2163)
      at org.apache.hadoop.hbase.regionserver.CompactSplit$CompactionRunner.doCompaction(CompactSplit.java:592)
      at org.apache.hadoop.hbase.regionserver.CompactSplit$CompactionRunner.run(CompactSplit.java:634)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at java.lang.Thread.run(Thread.java:748)
      Show
      2018-11-23 15:36:20,176 ERROR [regionserver/ml42:16020-longCompactions-1542957876702] regionserver.CompactSplit: Compaction failed region=test_db_zero9,4071\x009223370493980145710\x001,1542958557994.3b1f0283a8d07a2469e5e87f87d827da., storeName=cf, priority=59, startTime=1542958579969 java.lang.NullPointerException at org.apache.hadoop.hbase.regionserver.AbstractMultiFileWriter.beforeShipped(AbstractMultiFileWriter.java:124) at org.apache.hadoop.hbase.regionserver.compactions.Compactor.performCompaction(Compactor.java:432) at org.apache.hadoop.hbase.regionserver.compactions.Compactor.compact(Compactor.java:327) at org.apache.hadoop.hbase.regionserver.compactions.DateTieredCompactor.compact(DateTieredCompactor.java:64) at org.apache.hadoop.hbase.regionserver.DateTieredStoreEngine$DateTieredCompactionContext.compact(DateTieredStoreEngine.java:96) at org.apache.hadoop.hbase.regionserver.HStore.compact(HStore.java:1407) at org.apache.hadoop.hbase.regionserver.HRegion.compact(HRegion.java:2163) at org.apache.hadoop.hbase.regionserver.CompactSplit$CompactionRunner.doCompaction(CompactSplit.java:592) at org.apache.hadoop.hbase.regionserver.CompactSplit$CompactionRunner.run(CompactSplit.java:634) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)

    Description

      2018-11-23 15:36:20,176 ERROR [regionserver/ml42:16020-longCompactions-1542957876702] regionserver.CompactSplit: Compaction failed region=test_db_zero9,4071\x009223370493980145710\x001,1542958557994.3b1f0283a8d07a2469e5e87f87d827da., storeName=cf, priority=59, startTime=1542958579969

      java.lang.NullPointerException

      at org.apache.hadoop.hbase.regionserver.AbstractMultiFileWriter.beforeShipped(AbstractMultiFileWriter.java:124)

      at org.apache.hadoop.hbase.regionserver.compactions.Compactor.performCompaction(Compactor.java:432)

      at org.apache.hadoop.hbase.regionserver.compactions.Compactor.compact(Compactor.java:327)

      at org.apache.hadoop.hbase.regionserver.compactions.DateTieredCompactor.compact(DateTieredCompactor.java:64)

      at org.apache.hadoop.hbase.regionserver.DateTieredStoreEngine$DateTieredCompactionContext.compact(DateTieredStoreEngine.java:96)

      at org.apache.hadoop.hbase.regionserver.HStore.compact(HStore.java:1407)

      at org.apache.hadoop.hbase.regionserver.HRegion.compact(HRegion.java:2163)

      at org.apache.hadoop.hbase.regionserver.CompactSplit$CompactionRunner.doCompaction(CompactSplit.java:592)

      at org.apache.hadoop.hbase.regionserver.CompactSplit$CompactionRunner.run(CompactSplit.java:634)

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

      at java.lang.Thread.run(Thread.java:748)

      Attachments

        1. HBASE-21506-v1.patch
          2 kB
          Duo Zhang
        2. hbase-21506.patch
          1 kB
          lixiaobao

        Activity

          People

            q977734161 lixiaobao
            q977734161 lixiaobao
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified