[ https://issues.apache.org/jira/browse/PHOENIX-3098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15383817#comment-15383817 ]
Hadoop QA commented on PHOENIX-3098: ------------------------------------ {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12818767/PHOENIX-3098.patch against master branch at commit a6f61cb40c3eb031cd3b8b2192a243709bce37c6. ATTACHMENT ID: 12818767 {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:red}-1 tests included{color}. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:red}-1 javadoc{color}. The javadoc tool appears to have generated 34 warning messages. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:green}+1 lineLengths{color}. The patch does not introduce lines longer than 100 {color:green}+1 core tests{color}. The patch passed unit tests in . Test results: https://builds.apache.org/job/PreCommit-PHOENIX-Build/453//testReport/ Javadoc warnings: https://builds.apache.org/job/PreCommit-PHOENIX-Build/453//artifact/patchprocess/patchJavadocWarnings.txt Console output: https://builds.apache.org/job/PreCommit-PHOENIX-Build/453//console This message is automatically generated. > Possible NegativeArraySizeException while scanning local indexes during > regions merge > -------------------------------------------------------------------------------------- > > Key: PHOENIX-3098 > URL: https://issues.apache.org/jira/browse/PHOENIX-3098 > Project: Phoenix > Issue Type: Bug > Reporter: Sergio Peleato > Assignee: Rajeshbabu Chintaguntla > Fix For: 4.8.0 > > Attachments: PHOENIX-3098.patch > > > While scanning local indexes during regions merge we might end up with > NegativeArraySizeException which leads to RS down. The reason for this is > some times HBase won't do real seek and considered fake keyvalues(can be scan > start row) as seeked kvs. In that case we ended up with this issue when we > call peek without seek. So for local indexes we need to enforce seek all the > time for scanning local index reference files. > {noformat} > 2016-07-15 17:27:04,419 ERROR > [B.fifo.QRpcServer.handler=8,queue=2,port=16020] coprocessor.CoprocessorHost: > The coprocessor > org.apache.hadoop.hbase.regionserver.IndexHalfStoreFileReaderGenerator threw > java.lang.NegativeArraySizeException > java.lang.NegativeArraySizeException > at > org.apache.hadoop.hbase.regionserver.LocalIndexStoreFileScanner.getNewRowkeyByRegionStartKeyReplacedWithSplitKey(LocalIndexStoreFileScanner.java:242) > at > org.apache.hadoop.hbase.regionserver.LocalIndexStoreFileScanner.getChangedKey(LocalIndexStoreFileScanner.java:76) > at > org.apache.hadoop.hbase.regionserver.LocalIndexStoreFileScanner.peek(LocalIndexStoreFileScanner.java:68) > at > org.apache.hadoop.hbase.regionserver.KeyValueHeap.<init>(KeyValueHeap.java:87) > at > org.apache.hadoop.hbase.regionserver.KeyValueHeap.<init>(KeyValueHeap.java:71) > at > org.apache.hadoop.hbase.regionserver.StoreScanner.resetKVHeap(StoreScanner.java:378) > at > org.apache.hadoop.hbase.regionserver.StoreScanner.<init>(StoreScanner.java:227) > at > org.apache.hadoop.hbase.regionserver.IndexHalfStoreFileReaderGenerator$1.<init>(IndexHalfStoreFileReaderGenerator.java:259) > at > org.apache.hadoop.hbase.regionserver.IndexHalfStoreFileReaderGenerator.preStoreScannerOpen(IndexHalfStoreFileReaderGenerator.java:258) > at > org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost$51.call(RegionCoprocessorHost.java:1284) > at > org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost$RegionOperation.call(RegionCoprocessorHost.java:1638) > at > org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.execOperation(RegionCoprocessorHost.java:1712) > at > org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.execOperationWithResult(RegionCoprocessorHost.java:1677) > at > org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.preStoreScannerOpen(RegionCoprocessorHost.java:1279) > at > org.apache.hadoop.hbase.regionserver.HStore.getScanner(HStore.java:2110) > at > org.apache.hadoop.hbase.regionserver.HRegion$RegionScannerImpl.<init>(HRegion.java:5568) > at > org.apache.hadoop.hbase.regionserver.HRegion.instantiateRegionScanner(HRegion.java:2626) > at > org.apache.hadoop.hbase.regionserver.HRegion.getScanner(HRegion.java:2612) > at > org.apache.hadoop.hbase.regionserver.HRegion.getScanner(HRegion.java:2594) > at > org.apache.hadoop.hbase.regionserver.RSRpcServices.scan(RSRpcServices.java:2271) > at > org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:32205) > at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2127) > at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:107) > 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) > {noformat} > Thanks [~speleato] for finding this issue. Added you as reporter for this > issue. -- This message was sent by Atlassian JIRA (v6.3.4#6332)