Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-435 Java client cleanup for release
  3. KUDU-807

Retries are done in a tight loop when we can't resolve

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: M5
    • Fix Version/s: None
    • Component/s: client
    • Labels:
      None

      Description

      Saw this after trying Ricky Saltzer's code remotely against a machine running in OpenStack, the master didn't send the FQDN back to the client which it couldn't resolve:

      [ERROR - org.kududb.client.AsyncKuduClient.getIP(AsyncKuduClient.java:1571)] Failed to resolve the IP of `host-10-17-81-195' in 24000ns
      

      The returned error message shows that we looped a lot and didn't sleep much:

      Exception in thread "main" org.kududb.client.NonRecoverableException: Too many attempts: KuduRpc(method=Write, tablet=null, attempt=101, DeadlineTracker(timeout=10000, elapsed=1068), null)
      

        Attachments

          Activity

            People

            • Assignee:
              jdcryans Jean-Daniel Cryans
              Reporter:
              jdcryans Jean-Daniel Cryans

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment