Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-3108

use a new property:myid in the zoo.cfg to substitute for myid file under the dataDir

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 3.5.0
    • None
    • server

    Description

      When use zk in distributional model,we need to touch a myid file in dataDir.then write a unique number to it.It is inconvenient and not user-friendly,Look at an example from other distribution system such as kafka:it just uses broker.id=0 in the server.properties to indentify a unique server node.This issue is going to abandon the myid file and use a new property such as server.id=0 in the zoo.cfg. this fix will be applied to master branch,branch-3.5+,
      keep branch-3.4 unchaged.

      Attachments

        Activity

          People

            maoling Ling Mao
            maoling Ling Mao
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 3h
                3h