phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mujtaba Chohan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PHOENIX-3763) Local Index - Negative Size Array exception on creating local index
Date Wed, 05 Apr 2017 18:59:41 GMT
Mujtaba Chohan created PHOENIX-3763:
---------------------------------------

             Summary: Local Index - Negative Size Array exception on creating local index
                 Key: PHOENIX-3763
                 URL: https://issues.apache.org/jira/browse/PHOENIX-3763
             Project: Phoenix
          Issue Type: Bug
    Affects Versions: 4.10.0
            Reporter: Mujtaba Chohan
            Assignee: Rajeshbabu Chintaguntla


Repro:
{noformat}
CREATE TABLE IF NOT EXISTS T (PKA CHAR(15) NOT NULL, PKF CHAR(3) NOT NULL,
 PKP CHAR(15) NOT NULL, CRD DATE NOT NULL, EHI CHAR(15) NOT NULL, FID CHAR(15), CREATED_BY_ID
VARCHAR,
 FH VARCHAR, DT VARCHAR, OS VARCHAR, NS VARCHAR, OFN VARCHAR CONSTRAINT PK PRIMARY KEY ( PKA,
PKF, PKP, CRD DESC, EHI )) 
 VERSIONS=1,MULTI_TENANT=true,IMMUTABLE_ROWS=true;

CREATE LOCAL INDEX IF NOT EXISTS TIDX ON T (PKF, CRD, PKP, EHI) 
INCLUDE (FID, CREATED_BY_ID, FH, DT, OS, NS, OFN);
{noformat}

Exception:
{noformat}
Error: org.apache.phoenix.exception.PhoenixIOException: org.apache.hadoop.hbase.DoNotRetryIOException:
T,,1491418391189.5b0cfa6bda6247bcd659e75daefe3c07.: null
	at org.apache.phoenix.util.ServerUtil.createIOException(ServerUtil.java:89)
	at org.apache.phoenix.util.ServerUtil.throwIOException(ServerUtil.java:55)
	at org.apache.phoenix.coprocessor.BaseScannerRegionObserver$RegionScannerHolder.overrideDelegate(BaseScannerRegionObserver.java:255)
	at org.apache.phoenix.coprocessor.BaseScannerRegionObserver$RegionScannerHolder.nextRaw(BaseScannerRegionObserver.java:287)
	at org.apache.hadoop.hbase.regionserver.HRegionServer.scan(HRegionServer.java:3359)
	at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:32492)
	at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2210)
	at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:104)
	at org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:133)
	at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:108)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NegativeArraySizeException
	at org.apache.phoenix.index.IndexMaintainer.deserialize(IndexMaintainer.java:291)
	at org.apache.phoenix.index.IndexMaintainer.deserialize(IndexMaintainer.java:274)
	at org.apache.phoenix.coprocessor.UngroupedAggregateRegionObserver.doPostScannerOpen(UngroupedAggregateRegionObserver.java:375)
	at org.apache.phoenix.coprocessor.BaseScannerRegionObserver$RegionScannerHolder.overrideDelegate(BaseScannerRegionObserver.java:236)
	... 8 more (state=08000,code=101)
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message