phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Hofhansl (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (PHOENIX-4933) DELETE FROM throws NPE when a local index is present
Date Mon, 01 Oct 2018 19:00:00 GMT

     [ https://issues.apache.org/jira/browse/PHOENIX-4933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lars Hofhansl resolved PHOENIX-4933.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 5.1.0
                   4.14.1
                   4.15.0

Committed to master, 4.x-HBase-1.4, 4.x-HBase-1.3, and 4.x-HBase-1.2


> DELETE FROM throws NPE when a local index is present
> ----------------------------------------------------
>
>                 Key: PHOENIX-4933
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4933
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Lars Hofhansl
>            Assignee: Lars Hofhansl
>            Priority: Major
>             Fix For: 4.15.0, 4.14.1, 5.1.0
>
>         Attachments: PHOENIX-4933-4.x-HBase-1.4.patch, PHOENIX-4933-test.txt
>
>
> Just ran into this. When a local index is present. DELETE FROM <table> throws the
following NPE:
> Error: org.apache.phoenix.exception.PhoenixIOException: org.apache.hadoop.hbase.DoNotRetryIOException:
TEST,,1537573236513.ef4b34358717193907bddb3a5bec3b26.: null
>  at org.apache.phoenix.util.ServerUtil.createIOException(ServerUtil.java:120)
>  at org.apache.phoenix.util.ServerUtil.throwIOException(ServerUtil.java:86)
>  at org.apache.phoenix.iterate.RegionScannerFactory$1.nextRaw(RegionScannerFactory.java:195)
>  at org.apache.phoenix.coprocessor.UngroupedAggregateRegionObserver.doPostScannerOpen(UngroupedAggregateRegionObserver.java:557)
>  at org.apache.phoenix.coprocessor.BaseScannerRegionObserver$RegionScannerHolder.overrideDelegate(BaseScannerRegionObserver.java:239)
>  at org.apache.phoenix.coprocessor.BaseScannerRegionObserver$RegionScannerHolder.nextRaw(BaseScannerRegionObserver.java:287)
>  at org.apache.hadoop.hbase.regionserver.RSRpcServices.scan(RSRpcServices.java:2881)
>  at org.apache.hadoop.hbase.regionserver.RSRpcServices.scan(RSRpcServices.java:3130)
>  at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:36359)
>  at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2369)
>  at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:124)
>  at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:297)
>  at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:277)
>  Caused by: java.lang.NullPointerException
>  at org.apache.phoenix.execute.TupleProjector.projectResults(TupleProjector.java:283)
>  at org.apache.phoenix.iterate.RegionScannerFactory$1.nextRaw(RegionScannerFactory.java:185)
>  ... 10 more (state=08000,code=101)
> It fails here:
> {{long maxTS = tuple.getValue(0).getTimestamp();}}, because {{tuple.getValue(0)}} returns
null.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message