You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2018/07/05 02:10:00 UTC
[jira] [Resolved] (PHOENIX-4355) Snapshot based index rebuild job
wont work for two index table of same data table in parallel
[ https://issues.apache.org/jira/browse/PHOENIX-4355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Taylor resolved PHOENIX-4355.
-----------------------------------
Resolution: Duplicate
Duplicate of PHOENIX-4797.
> 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
> Assignee: Akshita Malhotra
> 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
(v7.6.3#76005)