Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-1734

Java client timeout exceptions aren't useful

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.1.0
    • client

    Description

      When a timeout occurs in the Java client, it throws exceptions that are very verbose and hard to make use of.

      For example:

      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)
      

      Most of the information isn't useful to the caller.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jdcryans Jean-Daniel Cryans
            mjacobs Matthew Jacobs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment