Monani Mihir created PHOENIX-4355:
-------------------------------------
Summary: Snapshot based index rebuild job wont work for two index
table of same data table in parallel
Key: PHOENIX-4355
URL: https://issues.apache.org/jira/browse/PHOENIX-4355
Project: Phoenix
Issue Type: Bug
Affects Versions: 4.13.0
Reporter: Monani Mihir
Priority: Minor
Run Index rebuild job for one index :-
{code}
bin/hbase org.apache.phoenix.mapreduce.index.IndexTool -it DATA_INDEX_1 -dt
DATA -s SCHEMA -snap -op /TEST/DATA_INDEX_1
{code}
then run index rebuild job for another index with same source data table.:-
{code}
bin/hbase org.apache.phoenix.mapreduce.index.IndexTool -it DATA_INDEX_2 -dt
DATA -s SCHEMA -snap -op /TEST/DATA_INDEX_1
{code}
Second command will fail without triggering MR jobs. When you delete previous
MR Job snapshot, it will be able to run.
{code}
It fails with below Error :-
2017-11-06 06:38:25,122 DEBUG [main] security.HBaseSaslRpcClient - Will send
token of size 0 from initSASLContext.
2017-11-06 06:38:25,122 DEBUG [main] security.HBaseSaslRpcClient - Will read
input token of size 32 for processing by initSASLContext
2017-11-06 06:38:25,122 DEBUG [main] security.HBaseSaslRpcClient - Will send
token of size 32 from initSASLContext.
2017-11-06 06:38:25,122 DEBUG [main] security.HBaseSaslRpcClient - SASL client
context established. Negotiated QoP: auth
2017-11-06 06:38:26,819 ERROR [main] index.IndexTool - utureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at org.apache.hadoop.hbase.ipc.RpcClient.call(RpcClient.java:1512)
at
org.apache.hadoop.hbase.ipc.RpcClient.callBlockingMethod(RpcClient.java:1714)
at
org.apache.hadoop.hbase.ipc.RpcClient$BlockingRpcChannelImplementation.callBlockingMethod(RpcClient.java:1784)
at
org.apache.hadoop.hbase.protobuf.generated.MasterProtos$MasterService$BlockingStub.snapshot(MasterProtos.java:47487)
at
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation$5.snapshot(HConnectionManager.java:2146)
at org.apache.hadoop.hbase.client.HBaseAdmin$28.call(HBaseAdmin.java:2882)
at org.apache.hadoop.hbase.client.HBaseAdmin$28.call(HBaseAdmin.java:2879)
at
org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithRetries(RpcRetryingCaller.java:125)
... 13 more
{code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)