Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-10535

Make the retry numbers in ActiveStandbyElector configurable

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.5.0
    • None
    • None
    • Reviewed

    Description

      Currently in ActiveStandbyElector, when its zookeeper client cannot successfully communicate with ZooKeeper service, the retry number is hard coded to 3 (ActiveStandbyElector#NUM_RETRIES). After retrying 3 times a fatal error will be thrown and the ZKFC will quit. It will be better to make the retry times configurable.

      Attachments

        Activity

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

          People

            jingzhao Jing Zhao Assign to me
            jingzhao Jing Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment