Return-Path: X-Original-To: apmail-zookeeper-commits-archive@www.apache.org Delivered-To: apmail-zookeeper-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 859A718379 for ; Thu, 3 Dec 2015 04:31:23 +0000 (UTC) Received: (qmail 18221 invoked by uid 500); 3 Dec 2015 04:31:23 -0000 Delivered-To: apmail-zookeeper-commits-archive@zookeeper.apache.org Received: (qmail 18186 invoked by uid 500); 3 Dec 2015 04:31:23 -0000 Mailing-List: contact commits-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ Delivered-To: mailing list commits@zookeeper.apache.org Received: (qmail 18154 invoked by uid 99); 3 Dec 2015 04:31:23 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2015 04:31:23 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id AA92A180A62 for ; Thu, 3 Dec 2015 04:31:22 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.447 X-Spam-Level: ** X-Spam-Status: No, score=2.447 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, KAM_MANYCOMMENTS=1.2, RP_MATCHES_RCVD=-0.554, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id E-Pr_o9Qpbz0 for ; Thu, 3 Dec 2015 04:30:51 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTP id CCD755EBE2 for ; Thu, 3 Dec 2015 04:30:50 +0000 (UTC) Received: from svn01-us-west.apache.org (svn.apache.org [10.41.0.6]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 83C11E10A3 for ; Thu, 3 Dec 2015 04:30:49 +0000 (UTC) Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id 72C9C3A0D1C for ; Thu, 3 Dec 2015 04:30:49 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r974351 [26/42] - in /websites/staging/zookeeper/trunk/content: ./ doc/r3.4.7/ doc/r3.4.7/api/ doc/r3.4.7/api/org/ doc/r3.4.7/api/org/apache/ doc/r3.4.7/api/org/apache/zookeeper/ doc/r3.4.7/api/org/apache/zookeeper/class-use/ doc/r3.4.7/api... Date: Thu, 03 Dec 2015 04:30:47 -0000 To: commits@zookeeper.apache.org From: buildbot@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20151203043049.72C9C3A0D1C@svn01-us-west.apache.org> Added: websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/server/quorum/QuorumPeerMain.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/server/quorum/QuorumPeerMain.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/server/quorum/QuorumPeerMain.html Thu Dec 3 04:30:43 2015 @@ -0,0 +1,323 @@ + + + + + +QuorumPeerMain (ZooKeeper 3.4.7 API) + + + + + + + + + + + + +
+
org.apache.zookeeper.server.quorum
+

Class QuorumPeerMain

+
+
+ +
+
    +
  • +
    +
    +
    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.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        QuorumPeerMain

        +
        public QuorumPeerMain()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        main

        +
        public static void main(String[] args)
        +
        To start the replicated server specify the configuration file name on + the command line.
        +
        +
        Parameters:
        +
        args - path to the configfile
        +
        +
      • +
      + + + +
        +
      • +

        runFromConfig

        +
        public void runFromConfig(org.apache.zookeeper.server.quorum.QuorumPeerConfig config)
        +                   throws IOException
        +
        +
        Throws:
        +
        IOException
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2015 The Apache Software Foundation

+ + Added: websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/server/quorum/package-frame.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/server/quorum/package-frame.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/server/quorum/package-frame.html Thu Dec 3 04:30:43 2015 @@ -0,0 +1,20 @@ + + + + + +org.apache.zookeeper.server.quorum (ZooKeeper 3.4.7 API) + + + + + +

org.apache.zookeeper.server.quorum

+
+

Classes

+ +
+ + Added: websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/server/quorum/package-summary.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/server/quorum/package-summary.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/server/quorum/package-summary.html Thu Dec 3 04:30:43 2015 @@ -0,0 +1,145 @@ + + + + + +org.apache.zookeeper.server.quorum (ZooKeeper 3.4.7 API) + + + + + + + + + + + +
+

Package org.apache.zookeeper.server.quorum

+
+
+
    +
  • + + + + + + + + + + + + +
    Class Summary 
    ClassDescription
    QuorumPeerMain +
    Configuration file
    +
    +
  • +
+
+ + + + +

Copyright © 2015 The Apache Software Foundation

+ + Added: websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/server/quorum/package-tree.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/server/quorum/package-tree.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/server/quorum/package-tree.html Thu Dec 3 04:30:43 2015 @@ -0,0 +1,138 @@ + + + + + +org.apache.zookeeper.server.quorum Class Hierarchy (ZooKeeper 3.4.7 API) + + + + + + + + + + + +
+

Hierarchy For Package org.apache.zookeeper.server.quorum

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ + + + +

Copyright © 2015 The Apache Software Foundation

+ + Added: websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/server/quorum/package-use.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/server/quorum/package-use.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/server/quorum/package-use.html Thu Dec 3 04:30:43 2015 @@ -0,0 +1,125 @@ + + + + + +Uses of Package org.apache.zookeeper.server.quorum (ZooKeeper 3.4.7 API) + + + + + + + + + + + +
+

Uses of Package
org.apache.zookeeper.server.quorum

+
+
No usage of org.apache.zookeeper.server.quorum
+ + + + +

Copyright © 2015 The Apache Software Foundation

+ + Added: websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/server/upgrade/UpgradeMain.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/server/upgrade/UpgradeMain.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/server/upgrade/UpgradeMain.html Thu Dec 3 04:30:43 2015 @@ -0,0 +1,315 @@ + + + + + +UpgradeMain (ZooKeeper 3.4.7 API) + + + + + + + + + + + + +
+
org.apache.zookeeper.server.upgrade
+

Class UpgradeMain

+
+
+ +
+
    +
  • +
    +
    +
    public class UpgradeMain
    +extends Object
    +
    This class upgrades the older database + to a new database for the zookeeper + servers. + The way to run it is + java -class path zookeeper.jar Upgrade dataDir snapShotDir + or using zookeeper scripts with zkServer -upgrade dataDir snapShotDir + it creates a backup in the dataDir/.bkup and snapShotDir/.bkup which + can be retrieved back to the snapShotDir and dataDir
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        UpgradeMain

        +
        public UpgradeMain(File dataDir,
        +                   File snapShotDir)
        +
        upgrade class that takes the two file + directories.
        +
        +
        Parameters:
        +
        dataDir - the directory that contains the + transaction logs
        +
        snapShotDir - the directory that contains + the snapshots
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        runUpgrade

        +
        public void runUpgrade()
        +                throws IOException
        +
        run the upgrade
        +
        +
        Throws:
        +
        IOException
        +
        +
      • +
      + + + +
        +
      • +

        main

        +
        public static void main(String[] argv)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2015 The Apache Software Foundation

+ + Added: websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/server/upgrade/class-use/UpgradeMain.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/server/upgrade/class-use/UpgradeMain.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/server/upgrade/class-use/UpgradeMain.html Thu Dec 3 04:30:43 2015 @@ -0,0 +1,125 @@ + + + + + +Uses of Class org.apache.zookeeper.server.upgrade.UpgradeMain (ZooKeeper 3.4.7 API) + + + + + + + + + + + +
+

Uses of Class
org.apache.zookeeper.server.upgrade.UpgradeMain

+
+
No usage of org.apache.zookeeper.server.upgrade.UpgradeMain
+ + + + +

Copyright © 2015 The Apache Software Foundation

+ + Added: websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/server/upgrade/package-frame.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/server/upgrade/package-frame.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/server/upgrade/package-frame.html Thu Dec 3 04:30:43 2015 @@ -0,0 +1,20 @@ + + + + + +org.apache.zookeeper.server.upgrade (ZooKeeper 3.4.7 API) + + + + + +

org.apache.zookeeper.server.upgrade

+
+

Classes

+ +
+ + Added: websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/server/upgrade/package-summary.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/server/upgrade/package-summary.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/server/upgrade/package-summary.html Thu Dec 3 04:30:43 2015 @@ -0,0 +1,147 @@ + + + + + +org.apache.zookeeper.server.upgrade (ZooKeeper 3.4.7 API) + + + + + + + + + + + +
+

Package org.apache.zookeeper.server.upgrade

+
+
+
    +
  • + + + + + + + + + + + + +
    Class Summary 
    ClassDescription
    UpgradeMain +
    This class upgrades the older database + to a new database for the zookeeper + servers.
    +
    +
  • +
+
+ + + + +

Copyright © 2015 The Apache Software Foundation

+ + Added: websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/server/upgrade/package-tree.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/server/upgrade/package-tree.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/server/upgrade/package-tree.html Thu Dec 3 04:30:43 2015 @@ -0,0 +1,138 @@ + + + + + +org.apache.zookeeper.server.upgrade Class Hierarchy (ZooKeeper 3.4.7 API) + + + + + + + + + + + +
+

Hierarchy For Package org.apache.zookeeper.server.upgrade

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ + + + +

Copyright © 2015 The Apache Software Foundation

+ + Added: websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/server/upgrade/package-use.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/server/upgrade/package-use.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/org/apache/zookeeper/server/upgrade/package-use.html Thu Dec 3 04:30:43 2015 @@ -0,0 +1,125 @@ + + + + + +Uses of Package org.apache.zookeeper.server.upgrade (ZooKeeper 3.4.7 API) + + + + + + + + + + + +
+

Uses of Package
org.apache.zookeeper.server.upgrade

+
+
No usage of org.apache.zookeeper.server.upgrade
+ + + + +

Copyright © 2015 The Apache Software Foundation

+ + Added: websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/overview-frame.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/overview-frame.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/overview-frame.html Thu Dec 3 04:30:43 2015 @@ -0,0 +1,26 @@ + + + + + +Overview List (ZooKeeper 3.4.7 API) + + + + + + + +

 

+ + Added: websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/overview-summary.html ============================================================================== --- websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/overview-summary.html (added) +++ websites/staging/zookeeper/trunk/content/doc/r3.4.7/api/overview-summary.html Thu Dec 3 04:30:43 2015 @@ -0,0 +1,172 @@ + + + + + +Overview (ZooKeeper 3.4.7 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

ZooKeeper 3.4.7 API

+
+
+
+
ZooKeeper is a service for coordinating processes of distributed applications.
+
+

See: Description

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Packages 
PackageDescription
org.apache.zookeeper 
org.apache.zookeeper.client 
org.apache.zookeeper.data 
org.apache.zookeeper.server +
ZooKeeper server theory of operation
+
org.apache.zookeeper.server.quorum 
org.apache.zookeeper.server.upgrade 
+
+
+ + +
ZooKeeper is a service for coordinating processes of distributed applications.
+
+ +
+ + + + + + + +
+ + +

Copyright © 2015 The Apache Software Foundation

+ +