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

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • M5
    • None
    • client
    • None

    Description

      Saw this after trying rickysaltzer'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

            jdcryans Jean-Daniel Cryans
            jdcryans Jean-Daniel Cryans
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: