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

IndexHalfStoreFileReaderGenerator throws NullPointerException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 4.14.0
    • 4.14.1
    • None
    • None

    Description

      018-08-08 09:15:25,075 FATAL [7,queue=3,port=60020] regionserver.HRegionServer - ABORTING region server phoenix1,60020,1533715370645: The coprocessor org.apache.hadoop.hbase.regionserver.IndexHalfStoreFileReaderGenerator threw java.lang.NullPointerException
       java.lang.NullPointerException
       at java.util.ArrayList.addAll(ArrayList.java:577)
       at org.apache.hadoop.hbase.regionserver.IndexHalfStoreFileReaderGenerator.getLocalIndexScanners(IndexHalfStoreFileReaderGenerator.java:398)
       at org.apache.hadoop.hbase.regionserver.IndexHalfStoreFileReaderGenerator.access$000(IndexHalfStoreFileReaderGenerator.java:73)
       at org.apache.hadoop.hbase.regionserver.IndexHalfStoreFileReaderGenerator$1.getScannersNoCompaction(IndexHalfStoreFileReaderGenerator.java:332)
       at org.apache.hadoop.hbase.regionserver.StoreScanner.<init>(StoreScanner.java:214)
       at org.apache.hadoop.hbase.regionserver.IndexHalfStoreFileReaderGenerator$1.<init>(IndexHalfStoreFileReaderGenerator.java:327)
       at org.apache.hadoop.hbase.regionserver.IndexHalfStoreFileReaderGenerator.preStoreScannerOpen(IndexHalfStoreFileReaderGenerator.java:326)
       at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost$51.call(RegionCoprocessorHost.java:1335)
       at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost$RegionOperation.call(RegionCoprocessorHost.java:1693)
       at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.execOperation(RegionCoprocessorHost.java:1771)
       at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.execOperationWithResult(RegionCoprocessorHost.java:1734)
       at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.preStoreScannerOpen(RegionCoprocessorHost.java:1330)
       at org.apache.hadoop.hbase.regionserver.HStore.getScanner(HStore.java:2169)
       at org.apache.hadoop.hbase.regionserver.HRegion$RegionScannerImpl.initializeScanners(HRegion.java:5916)
       at org.apache.hadoop.hbase.regionserver.HRegion$RegionScannerImpl.<init>(HRegion.java:5890)
       at org.apache.hadoop.hbase.regionserver.HRegion.instantiateRegionScanner(HRegion.java:2739)
       at org.apache.hadoop.hbase.regionserver.HRegion.getScanner(HRegion.java:2719)
       at org.apache.hadoop.hbase.regionserver.HRegion.get(HRegion.java:7197)
       at org.apache.hadoop.hbase.regionserver.HRegion.get(HRegion.java:7156)
       at org.apache.hadoop.hbase.regionserver.HRegion.get(HRegion.java:7149)
       at org.apache.hadoop.hbase.regionserver.RSRpcServices.get(RSRpcServices.java:2249)
       at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:35068)
       at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2373)
       at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:124)
       at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:188)
       at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:168
       

      Possible fix for this would be to backport PHOENIX-4440 and PHOENIX-4318

      Attachments

        1. PHOENIX-4839-HBase-1.3.patch
          11 kB
          Aman Poonia
        2. PHOENIX-4839-4.x-HBase-1.4.addendum.patch
          8 kB
          Aman Poonia
        3. PHOENIX-4839-4.x-HBase-1.4.addendum.01.patch
          10 kB
          Aman Poonia
        4. PHOENIX-4839-4.x-HBase-1.3.patch
          11 kB
          Aman Poonia
        5. PHOENIX-4839-4.x-HBase-1.3.addendum.patch
          8 kB
          Aman Poonia
        6. PHOENIX-4839-4.x-HBase-1.3.addendum.01.patch
          10 kB
          Aman Poonia
        7. PHOENIX-4839-4.x-HBase-1.3.01.patch
          8 kB
          Aman Poonia
        8. PHOENIX-4839.patch
          10 kB
          Ankit Singhal

        Issue Links

          Activity

            People

              mnpoonia Aman Poonia
              mnpoonia Aman Poonia
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: