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

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersConvert to IssueMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

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

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment