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

IndexRebuildTaskIT fails with HBase 1.5.x

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.15.0
    • 4.15.0, 5.1.0
    • None
    • None

    Description

      [INFO] Running org.apache.phoenix.end2end.IndexRebuildTaskIT
      [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 74.425 s <<< FAILURE! - in org.apache.phoenix.end2end.IndexRebuildTaskIT
      [ERROR] testIndexRebuildTask(org.apache.phoenix.end2end.IndexRebuildTaskIT)  Time elapsed: 24.307 s  <<< ERROR!
      org.apache.phoenix.execute.CommitException: 
      org.apache.hadoop.hbase.client.RetriesExhaustedWithDetailsException: Failed 1 action: org.apache.phoenix.hbase.index.builder.IndexBuildingFailureException: Failed to build index for unexpected reason!
      	at org.apache.phoenix.hbase.index.util.IndexManagementUtil.rethrowIndexingException(IndexManagementUtil.java:198)
      	at org.apache.phoenix.hbase.index.Indexer.preBatchMutate(Indexer.java:348)
      	at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost$35.call(RegionCoprocessorHost.java:1024)
      	at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost$RegionOperation.call(RegionCoprocessorHost.java:1729)
      	at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.execOperation(RegionCoprocessorHost.java:1814)
      	at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.execOperation(RegionCoprocessorHost.java:1770)
      	at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.preBatchMutate(RegionCoprocessorHost.java:1020)
      	at org.apache.hadoop.hbase.regionserver.HRegion.doMiniBatchMutation(HRegion.java:3401)
      	at org.apache.hadoop.hbase.regionserver.HRegion.batchMutate(HRegion.java:3148)
      	at org.apache.hadoop.hbase.regionserver.HRegion.batchMutate(HRegion.java:3090)
      	at org.apache.hadoop.hbase.regionserver.RSRpcServices.doBatchOp(RSRpcServices.java:944)
      	at org.apache.hadoop.hbase.regionserver.RSRpcServices.doNonAtomicRegionMutation(RSRpcServices.java:872)
      	at org.apache.hadoop.hbase.regionserver.RSRpcServices.multi(RSRpcServices.java:2466)
      	at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:36621)
      	at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2380)
      	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.IllegalArgumentException: Invalid key length in KeyValue. keyLength=0, KeyValueBytesHex=\x00\x00\x00\x00\x00\x00\x00\x00tenant1\x00y\x000, offset=0, length=19
      	at org.apache.hadoop.hbase.KeyValueUtil.checkKeyValueBytes(KeyValueUtil.java:605)
      	at org.apache.hadoop.hbase.KeyValue.<init>(KeyValue.java:359)
      	at org.apache.phoenix.hbase.index.wal.IndexedKeyValue.<init>(IndexedKeyValue.java:56)
      	at org.apache.phoenix.hbase.index.Indexer.preBatchMutateWithExceptions(Indexer.java:534)
      	at org.apache.phoenix.hbase.index.Indexer.preBatchMutate(Indexer.java:345)
      	... 16 more
      ...
      at org.apache.phoenix.end2end.IndexRebuildTaskIT.testIndexRebuildTask(IndexRebuildTaskIT.java:112)
      
      

      Attachments

        Issue Links

          Activity

            People

              larsh Lars Hofhansl
              larsh Lars Hofhansl
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: