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

Make the retry numbers in ActiveStandbyElector configurable

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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

        1. HADOOP-10535.001.patch
          12 kB
          Jing Zhao
        2. HADOOP-10535.000.patch
          11 kB
          Jing Zhao

          Activity

            People

            • Assignee:
              jingzhao Jing Zhao
              Reporter:
              jingzhao Jing Zhao
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: