From 6979d4378091e831844d9727c76053f0fe173bda Mon Sep 17 00:00:00 2001 From: Enrico Olivelli Date: Mon, 30 Jan 2023 08:53:01 +0100 Subject: Updated website content for release 3.8.1 --- .../zookeeper/server/quorum/QuorumPeerMain.html | 436 +++++++++++++++++++++ 1 file changed, 436 insertions(+) create mode 100644 _released_docs/r3.8.1/apidocs/zookeeper-server/org/apache/zookeeper/server/quorum/QuorumPeerMain.html (limited to '_released_docs/r3.8.1/apidocs/zookeeper-server/org/apache/zookeeper/server/quorum/QuorumPeerMain.html') diff --git a/_released_docs/r3.8.1/apidocs/zookeeper-server/org/apache/zookeeper/server/quorum/QuorumPeerMain.html b/_released_docs/r3.8.1/apidocs/zookeeper-server/org/apache/zookeeper/server/quorum/QuorumPeerMain.html new file mode 100644 index 000000000..d5aee5665 --- /dev/null +++ b/_released_docs/r3.8.1/apidocs/zookeeper-server/org/apache/zookeeper/server/quorum/QuorumPeerMain.html @@ -0,0 +1,436 @@ + + + + + + +QuorumPeerMain (Apache ZooKeeper - Server 3.8.1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
org.apache.zookeeper.server.quorum
+

Class QuorumPeerMain

+
+
+ +
+
    +
  • +
    +
    +
    @InterfaceAudience.Public
    +public class QuorumPeerMain
    +extends Object
    +

    Configuration file

    + + When the main() method of this class is used to start the program, the first + argument is used as a path to the config file, which will be used to obtain + configuration information. This file is a Properties file, so keys and + values are separated by equals (=) and the key/value pairs are separated + by new lines. The following is a general summary of keys used in the + configuration file. For full details on this see the documentation in + docs/index.html +
      +
    1. dataDir - The directory where the ZooKeeper data is stored.
    2. +
    3. dataLogDir - The directory where the ZooKeeper transaction log is stored.
    4. +
    5. clientPort - The port used to communicate with clients.
    6. +
    7. tickTime - The duration of a tick in milliseconds. This is the basic + unit of time in ZooKeeper.
    8. +
    9. initLimit - The maximum number of ticks that a follower will wait to + initially synchronize with a leader.
    10. +
    11. syncLimit - The maximum number of ticks that a follower will wait for a + message (including heartbeats) from the leader.
    12. +
    13. server.id - This is the host:port[:port] that the server with the + given id will use for the quorum protocol.
    14. +
    + In addition to the config file. There is a file in the data directory called + "myid" that contains the server id as an ASCII decimal value.
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2008–2023 The Apache Software Foundation. All rights reserved.

+ + -- cgit v1.2.1