[jira] [Updated] (PHOENIX-5267) With namespaces enabled Phoenix client times out with high loads

2019-05-03 Thread Thomas D'Silva (JIRA)


 [ 
https://issues.apache.org/jira/browse/PHOENIX-5267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas D'Silva updated PHOENIX-5267:

Fix Version/s: 4.14.2

> With namespaces enabled Phoenix client times out with high loads
> 
>
> Key: PHOENIX-5267
> URL: https://issues.apache.org/jira/browse/PHOENIX-5267
> Project: Phoenix
>  Issue Type: Bug
>Affects Versions: 4.14.1
>Reporter: Kiran Kumar Maturi
>Priority: Major
> Fix For: 4.14.2
>
>
> Steps to reproduce:
>  * Enable namespaces for phoenix 4.14.1 and hbase 1.3
>  * Run high load using pherf client with 48 threads
> After sometime the client hangs. and gives timeout exception
> {code:java}
> [pool-1-thread-1] WARN org.apache.phoenix.pherf.workload.WriteWorkload -
> java.util.concurrent.ExecutionException: 
> org.apache.phoenix.exception.PhoenixIOException: callTimeout=120, 
> callDuration=1238263: Call to  failed on local exception: 
> org.apache.hadoop.hbase.ipc.CallTimeoutException: Call id=857, 
> waitTime=120001, operationTimeout=12 expired. row '^@TEST^@TABLE' on 
> table 'SYSTEM:CATALOG' at 
> region=SYSTEM:CATALOG,1556024429507.0f80d6de0a002d1421b8fd384e956254., 
> hostname=, seqNum=2
> at java.util.concurrent.FutureTask.report(FutureTask.java:122)
> at java.util.concurrent.FutureTask.get(FutureTask.java:192)
> at 
> org.apache.phoenix.pherf.workload.WriteWorkload.waitForBatches(WriteWorkload.java:239)
> at 
> org.apache.phoenix.pherf.workload.WriteWorkload.exec(WriteWorkload.java:189)
> at 
> org.apache.phoenix.pherf.workload.WriteWorkload.access$100(WriteWorkload.java:56)
> at 
> org.apache.phoenix.pherf.workload.WriteWorkload$1.run(WriteWorkload.java:165)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: org.apache.phoenix.exception.PhoenixIOException: 
> callTimeout=120, callDuration=1238263: Call to  failed on local 
> exception: org.apache.hadoop.hbase.ipc.CallTimeoutException: Call id=857, 
> waitTime=120001, operationTimeout=12 expired. row '^@TEST^@TABLE' on 
> table 'SYSTEM:CATALOG' at 
> region=SYSTEM:CATALOG,1556024429507.0f80d6de0a002d1421b8fd384e956254., 
> hostname=, seqNum=2
> at 
> org.apache.phoenix.util.ServerUtil.parseServerException(ServerUtil.java:144)
> at 
> org.apache.phoenix.query.ConnectionQueryServicesImpl.metaDataCoprocessorExec(ConnectionQueryServicesImpl.java:1379)
> at 
> org.apache.phoenix.query.ConnectionQueryServicesImpl.metaDataCoprocessorExec(ConnectionQueryServicesImpl.java:1343)
> at 
> org.apache.phoenix.query.ConnectionQueryServicesImpl.getTable(ConnectionQueryServicesImpl.java:1560)
> at 
> org.apache.phoenix.schema.MetaDataClient.updateCache(MetaDataClient.java:644)
> at 
> org.apache.phoenix.schema.MetaDataClient.updateCache(MetaDataClient.java:538)
> at 
> org.apache.phoenix.schema.MetaDataClient.updateCache(MetaDataClient.java:530)
> at 
> org.apache.phoenix.schema.MetaDataClient.updateCache(MetaDataClient.java:526)
> at 
> org.apache.phoenix.execute.MutationState.validateAndGetServerTimestamp(MutationState.java:755)
> at 
> org.apache.phoenix.execute.MutationState.validateAll(MutationState.java:743)
> at org.apache.phoenix.execute.MutationState.send(MutationState.java:875)
> at org.apache.phoenix.execute.MutationState.send(MutationState.java:1360)
> at 
> org.apache.phoenix.execute.MutationState.commit(MutationState.java:1183)
> at 
> org.apache.phoenix.jdbc.PhoenixConnection$3.call(PhoenixConnection.java:670)
> at 
> org.apache.phoenix.jdbc.PhoenixConnection$3.call(PhoenixConnection.java:666)
> at org.apache.phoenix.call.CallRunner.run(CallRunner.java:53)
> at 
> org.apache.phoenix.jdbc.PhoenixConnection.commit(PhoenixConnection.java:666)
> at 
> org.apache.phoenix.pherf.workload.WriteWorkload$2.call(WriteWorkload.java:297)
> at 
> org.apache.phoenix.pherf.workload.WriteWorkload$2.call(WriteWorkload.java:256)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (PHOENIX-5267) With namespaces enabled Phoenix client times out with high loads

2019-05-02 Thread Kiran Kumar Maturi (JIRA)


 [ 
https://issues.apache.org/jira/browse/PHOENIX-5267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kiran Kumar Maturi updated PHOENIX-5267:

Description: 
Steps to reproduce:
 * Enable namespaces for phoenix 4.14.1 and hbase 1.3
 * Run high load using pherf client with 48 threads

After sometime the client hangs. and gives timeout exception
{code:java}
[pool-1-thread-1] WARN org.apache.phoenix.pherf.workload.WriteWorkload -

java.util.concurrent.ExecutionException: 
org.apache.phoenix.exception.PhoenixIOException: callTimeout=120, 
callDuration=1238263: Call to  failed on local exception: 
org.apache.hadoop.hbase.ipc.CallTimeoutException: Call id=857, waitTime=120001, 
operationTimeout=12 expired. row '^@TEST^@TABLE' on table 'SYSTEM:CATALOG' 
at region=SYSTEM:CATALOG,1556024429507.0f80d6de0a002d1421b8fd384e956254., 
hostname=, seqNum=2

at java.util.concurrent.FutureTask.report(FutureTask.java:122)

at java.util.concurrent.FutureTask.get(FutureTask.java:192)

at 
org.apache.phoenix.pherf.workload.WriteWorkload.waitForBatches(WriteWorkload.java:239)

at 
org.apache.phoenix.pherf.workload.WriteWorkload.exec(WriteWorkload.java:189)

at 
org.apache.phoenix.pherf.workload.WriteWorkload.access$100(WriteWorkload.java:56)

at 
org.apache.phoenix.pherf.workload.WriteWorkload$1.run(WriteWorkload.java:165)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at java.lang.Thread.run(Thread.java:748)

Caused by: org.apache.phoenix.exception.PhoenixIOException: 
callTimeout=120, callDuration=1238263: Call to  failed on local 
exception: org.apache.hadoop.hbase.ipc.CallTimeoutException: Call id=857, 
waitTime=120001, operationTimeout=12 expired. row '^@TEST^@TABLE' on table 
'SYSTEM:CATALOG' at 
region=SYSTEM:CATALOG,1556024429507.0f80d6de0a002d1421b8fd384e956254., 
hostname=, seqNum=2

at 
org.apache.phoenix.util.ServerUtil.parseServerException(ServerUtil.java:144)

at 
org.apache.phoenix.query.ConnectionQueryServicesImpl.metaDataCoprocessorExec(ConnectionQueryServicesImpl.java:1379)

at 
org.apache.phoenix.query.ConnectionQueryServicesImpl.metaDataCoprocessorExec(ConnectionQueryServicesImpl.java:1343)

at 
org.apache.phoenix.query.ConnectionQueryServicesImpl.getTable(ConnectionQueryServicesImpl.java:1560)

at 
org.apache.phoenix.schema.MetaDataClient.updateCache(MetaDataClient.java:644)

at 
org.apache.phoenix.schema.MetaDataClient.updateCache(MetaDataClient.java:538)

at 
org.apache.phoenix.schema.MetaDataClient.updateCache(MetaDataClient.java:530)

at 
org.apache.phoenix.schema.MetaDataClient.updateCache(MetaDataClient.java:526)

at 
org.apache.phoenix.execute.MutationState.validateAndGetServerTimestamp(MutationState.java:755)

at 
org.apache.phoenix.execute.MutationState.validateAll(MutationState.java:743)

at org.apache.phoenix.execute.MutationState.send(MutationState.java:875)

at org.apache.phoenix.execute.MutationState.send(MutationState.java:1360)

at org.apache.phoenix.execute.MutationState.commit(MutationState.java:1183)

at 
org.apache.phoenix.jdbc.PhoenixConnection$3.call(PhoenixConnection.java:670)

at 
org.apache.phoenix.jdbc.PhoenixConnection$3.call(PhoenixConnection.java:666)

at org.apache.phoenix.call.CallRunner.run(CallRunner.java:53)

at 
org.apache.phoenix.jdbc.PhoenixConnection.commit(PhoenixConnection.java:666)

at 
org.apache.phoenix.pherf.workload.WriteWorkload$2.call(WriteWorkload.java:297)

at 
org.apache.phoenix.pherf.workload.WriteWorkload$2.call(WriteWorkload.java:256)


{code}

  was:
Steps to reproduce:
 * Enable namespaces for phoenix 4.14.1 and hbase 1.3
 * Run high load using pherf client with 48 threads

After sometime the client hangs. and gives timeout exception
{code:java}
[pool-1-thread-1] WARN org.apache.phoenix.pherf.workload.WriteWorkload -

java.util.concurrent.ExecutionException: 
org.apache.phoenix.exception.PhoenixIOException: callTimeout=120, 
callDuration=1238263: Call to  failed on local exception: 
org.apache.hadoop.hbase.ipc.CallTimeoutException: Call id=857, waitTime=120001, 
operationTimeout=12 expired. row '^@test^@table' on table 'SYSTEM:CATALOG' 
at region=SYSTEM:CATALOG,1556024429507.0f80d6de0a002d1421b8fd384e956254., 
hostname=, seqNum=2

at java.util.concurrent.FutureTask.report(FutureTask.java:122)

at java.util.concurrent.FutureTask.get(FutureTask.java:192)

at 
org.apache.phoenix.pherf.workload.WriteWorkload.waitForBatches(WriteWorkload.java:239)

at 
org.apache.phoenix.pherf.workload.WriteWorkload.exec(WriteWorkload.java:189)

at