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

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.0.0-alpha, 3.0.0-alpha1
    • None
    • auto-failover, ha
    • running CDH4.1.1

    • 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

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

              Dates

                Created:
                Updated: