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

Zoltán Borók-Nagy updated KUDU-3019:
------------------------------------
    Description: 
In Impala we've seen the Kudu client hanging with the following stack trace:
{noformat}
Thread 53015: (state = BLOCKED)
 - java.lang.Object.wait(long) @bci=0 (Compiled frame; information may be 
imprecise)
 - java.lang.Object.wait() @bci=2, line=502 (Compiled frame)
 - com.stumbleupon.async.Deferred.doJoin(boolean, long) @bci=77, line=1122 
(Compiled frame)
 - com.stumbleupon.async.Deferred.join() @bci=3, line=1006 (Compiled frame)
 - 
org.apache.kudu.client.KuduClient.joinAndHandleException(com.stumbleupon.async.Deferred)
 @bci=1, line=340 (Compiled frame)
 - org.apache.kudu.client.KuduClient.openTable(java.lang.String) @bci=10, 
line=212 (Compiled frame)
 - 
org.apache.impala.planner.KuduScanNode.init(org.apache.impala.analysis.Analyzer)
 @bci=32, line=115 (Compiled frame)
 - 
org.apache.impala.planner.SingleNodePlanner.createScanNode(org.apache.impala.analysis.TableRef,
 org.apache.impala.analysis.AggregateInfo, org.apache.impala.analysis.Analyzer) 
@bci=252, line=1312 (Compiled frame)
...{noformat}
The client hangs in Deferred.join():

[https://github.com/apache/kudu/blob/a8c6ea258c06407c1a4fef260da3a1cb70529bd9/java/kudu-client/src/main/java/org/apache/kudu/client/KuduClient.java#L423]

To at least mitigate the problem, maybe Deferred.join(long timeout) could be 
used instead.

  was:
In Impala we've seen the Kudu client hanging with the following stack trace:
{noformat}
Thread 53015: (state = BLOCKED) - java.lang.Object.wait(long) @bci=0 (Compiled 
frame; information may be imprecise) - java.lang.Object.wait() @bci=2, line=502 
(Compiled frame) - com.stumbleupon.async.Deferred.doJoin(boolean, long) 
@bci=77, line=1122 (Compiled frame) - com.stumbleupon.async.Deferred.join() 
@bci=3, line=1006 (Compiled frame) - 
org.apache.kudu.client.KuduClient.joinAndHandleException(com.stumbleupon.async.Deferred)
 @bci=1, line=340 (Compiled frame) - 
org.apache.kudu.client.KuduClient.openTable(java.lang.String) @bci=10, line=212 
(Compiled frame) - 
org.apache.impala.planner.KuduScanNode.init(org.apache.impala.analysis.Analyzer)
 @bci=32, line=115 (Compiled frame)
...{noformat}
The client hangs in Deferred.join():

[https://github.com/apache/kudu/blob/a8c6ea258c06407c1a4fef260da3a1cb70529bd9/java/kudu-client/src/main/java/org/apache/kudu/client/KuduClient.java#L423]

To at least mitigate the problem, maybe Deferred.join(long timeout) could be 
used instead.


> Kudu client hangs in Deffered.join()
> ------------------------------------
>
>                 Key: KUDU-3019
>                 URL: https://issues.apache.org/jira/browse/KUDU-3019
>             Project: Kudu
>          Issue Type: Bug
>            Reporter: Zoltán Borók-Nagy
>            Priority: Major
>
> In Impala we've seen the Kudu client hanging with the following stack trace:
> {noformat}
> Thread 53015: (state = BLOCKED)
>  - java.lang.Object.wait(long) @bci=0 (Compiled frame; information may be 
> imprecise)
>  - java.lang.Object.wait() @bci=2, line=502 (Compiled frame)
>  - com.stumbleupon.async.Deferred.doJoin(boolean, long) @bci=77, line=1122 
> (Compiled frame)
>  - com.stumbleupon.async.Deferred.join() @bci=3, line=1006 (Compiled frame)
>  - 
> org.apache.kudu.client.KuduClient.joinAndHandleException(com.stumbleupon.async.Deferred)
>  @bci=1, line=340 (Compiled frame)
>  - org.apache.kudu.client.KuduClient.openTable(java.lang.String) @bci=10, 
> line=212 (Compiled frame)
>  - 
> org.apache.impala.planner.KuduScanNode.init(org.apache.impala.analysis.Analyzer)
>  @bci=32, line=115 (Compiled frame)
>  - 
> org.apache.impala.planner.SingleNodePlanner.createScanNode(org.apache.impala.analysis.TableRef,
>  org.apache.impala.analysis.AggregateInfo, 
> org.apache.impala.analysis.Analyzer) @bci=252, line=1312 (Compiled frame)
> ...{noformat}
> The client hangs in Deferred.join():
> [https://github.com/apache/kudu/blob/a8c6ea258c06407c1a4fef260da3a1cb70529bd9/java/kudu-client/src/main/java/org/apache/kudu/client/KuduClient.java#L423]
> To at least mitigate the problem, maybe Deferred.join(long timeout) could be 
> used instead.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to