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

Possible NPE in StatisticCollector#stop

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.0, 3.2.0
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: