Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-4101

ZKFC should implement zookeeper.recovery.retry like HBase to connect to ZooKeeper

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.0.0-alpha, 3.0.0-alpha1
    • Fix Version/s: None
    • Component/s: auto-failover, ha
    • Environment:

      running CDH4.1.1

    • Release Note:
      Make ZK connection retries also available at startup.

      Description

      When zkfc start and zookeeper is not yet started ZKFC fails and stop directly.

      Maybe ZKFC should allow some retries on Zookeeper services like does HBase with zookeeper.recovery.retry

      This particularly appends when I start my whole cluster on VirtualBox for example (every components nearly at the same time) ZKFC is the only that fail and stop ...
      Every others can wait each-others some time independently of the start order like NameNode/DataNode/JournalNode/Zookeeper/HBaseMaster/HBaseRS so that the system can be set and stable in few seconds

        Attachments

        1. HDFS-4101-2.patch
          3 kB
          Damien Hardy

          Issue Links

            Activity

              People

              • Assignee:
                dam_ned Damien Hardy
                Reporter:
                dam_ned Damien Hardy
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated: