[
https://issues.apache.org/jira/browse/KUDU-1734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Daniel Cryans resolved KUDU-1734.
--------------------------------------
Resolution: Fixed
Assignee: Jean-Daniel Cryans
Fix Version/s: 1.1.0
Target Version/s: 1.1.0
With https://gerrit.cloudera.org/#/c/4871/ I'm going to close this as solved.
Tracing is not in yet but I removed the places where the join() could timeout
before the operation itself gets a timeout. This means that now we'll have more
information, even without full traces.
> Java client timeout exceptions aren't useful
> --------------------------------------------
>
> Key: KUDU-1734
> URL: https://issues.apache.org/jira/browse/KUDU-1734
> Project: Kudu
> Issue Type: Improvement
> Components: client
> Affects Versions: 1.0.0
> Reporter: Matthew Jacobs
> Assignee: Jean-Daniel Cryans
> Labels: client, impala, usability
> Fix For: 1.1.0
>
>
> When a timeout occurs in the Java client, it throws exceptions that are very
> verbose and hard to make use of.
> For example:
> {code}
> CAUSED BY: NonRecoverableException: Timed out after 1ms when joining
> Deferred@1214130230(state=PENDING, result=null, callback=get tablet locations
> from the master for table Kudu Master -> release master lookup permit ->
> retry RPC -> org.apache.kudu.client.AsyncKuduClient$4@1da21658 -> wakeup
> thread Thread-7, errback=passthrough -> release master lookup permit -> retry
> RPC after error -> passthrough -> wakeup thread Thread-7)
> CAUSED BY: TimeoutException: Timed out after 1ms when joining
> Deferred@1214130230(state=PENDING, result=null, callback=get tablet locations
> from the master for table Kudu Master -> release master lookup permit ->
> retry RPC -> org.apache.kudu.client.AsyncKuduClient$4@1da21658 -> wakeup
> thread Thread-7, errback=passthrough -> release master lookup permit -> retry
> RPC after error -> passthrough -> wakeup thread Thread-7)
> {code}
> Most of the information isn't useful to the caller.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)