Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-8707 Implement an async pure c++ HDFS client
  3. HDFS-11027

libhdfs++: Don't retry if there is an authentication failure

    XMLWordPrintableJSON

Details

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

    Description

      "Authentication failed" status falls into the general !status.ok() block in the HA retry policy so it will keep attempting to failover. If the client isn't kerberized, or doesn't have the right ticket it should give up and return a meaningful error message (right now it returns a generic bad connection failure string).

      Wouldn't hurt to check the FixedDelayRetryPolicy to make sure that doesn't also keep attempting to retry in the same way. I suspect it does.

      Attachments

        1. HDFS-11027.HDFS-8707.000.patch
          2 kB
          James Clampffer
        2. HDFS-11027.HDFS-8707.001.patch
          3 kB
          James Clampffer

        Activity

          People

            James C James Clampffer
            James C James Clampffer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: