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

exportAuthenticationCredentials does not retry connectToCluster

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.7.0
    • 1.9.0
    • java
    • None

    Description

      TestSecurity has the following TODO:

          // TODO(todd): it seems that exportAuthenticationCredentials() doesn't properly retry
          // in the case that there is no leader, even though NoLeaderFoundException is a RecoverableException.
          // So, we have to use a hack of calling listTabletServers, which _does_ properly retry,
          // in order to wait for the masters to elect a leader.
      

      It seems like this causes occasional failures of tests like KuduRDDTest – I saw a case where the client failed to connect due to a negotiation timeout, and then didn't retry at all. It's not clear why the 3-second negotiation timeout was insufficient in this test case but likely just machine load or somesuch.

      Attachments

        Issue Links

          Activity

            People

              adar Adar Dembo
              tlipcon Todd Lipcon
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: