Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-1303

Possible NPE in StatisticCollector#stop

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.2.0, 3.2.0
    • None
    • None

    Description

      Getting NPE sometimes with SkipScanAfterManualSplitIT test case.

      java.lang.RuntimeException: java.lang.NullPointerException
      	at org.apache.hadoop.hbase.regionserver.handler.CloseRegionHandler.process(CloseRegionHandler.java:133)
      	at org.apache.hadoop.hbase.executor.EventHandler.run(EventHandler.java:175)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:724)
      Caused by: java.lang.NullPointerException
      	at org.apache.phoenix.schema.stat.StatisticsCollector.stop(StatisticsCollector.java:220)
      	at org.apache.hadoop.hbase.coprocessor.CoprocessorHost$Environment.shutdown(CoprocessorHost.java:624)
      	at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost$RegionEnvironment.shutdown(RegionCoprocessorHost.java:119)
      	at org.apache.hadoop.hbase.coprocessor.CoprocessorHost.shutdown(CoprocessorHost.java:263)
      	at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.postClose(RegionCoprocessorHost.java:344)
      	at org.apache.hadoop.hbase.regionserver.HRegion.doClose(HRegion.java:1144)
      	at org.apache.hadoop.hbase.regionserver.HRegion.close(HRegion.java:1024)
      	at org.apache.hadoop.hbase.regionserver.handler.CloseRegionHandler.process(CloseRegionHandler.java:119)
      

      Attachments

        Activity

          People

            ram_krish ramkrishna.s.vasudevan
            rajesh23 rajeshbabu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: