zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ph...@apache.org
Subject svn commit: r1203072 [2/2] - in /zookeeper/branches/branch-3.3: ./ docs/ docs/skin/ docs/skin/images/ src/c/ src/c/include/ src/docs/src/documentation/content/xdocs/
Date Thu, 17 Nov 2011 06:17:20 GMT
Modified: zookeeper/branches/branch-3.3/docs/zookeeperProgrammers.html
URL: http://svn.apache.org/viewvc/zookeeper/branches/branch-3.3/docs/zookeeperProgrammers.html?rev=1203072&r1=1203071&r2=1203072&view=diff
==============================================================================
--- zookeeper/branches/branch-3.3/docs/zookeeperProgrammers.html (original)
+++ zookeeper/branches/branch-3.3/docs/zookeeperProgrammers.html Thu Nov 17 06:17:18 2011
@@ -3,7 +3,7 @@
 <head>
 <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <meta content="Apache Forrest" name="Generator">
-<meta name="Forrest-version" content="0.8">
+<meta name="Forrest-version" content="0.9">
 <meta name="Forrest-skin-name" content="pelt">
 <title>ZooKeeper Programmer's Guide</title>
 <link type="text/css" href="skin/basic.css" rel="stylesheet">
@@ -204,6 +204,7 @@ document.write("Last Published: " + docu
 </div>
 <h1>ZooKeeper Programmer's Guide</h1>
 <h3>Developing Distributed Applications that use ZooKeeper</h3>
+<div id="front-matter">
 <div id="minitoc-area">
 <ul class="minitoc">
 <li>
@@ -323,6 +324,7 @@ document.write("Last Published: " + docu
 </li>
 </ul>
 </div>
+</div>
   
 
   
@@ -330,7 +332,7 @@ document.write("Last Published: " + docu
   
 
   
-<a name="N1000B"></a><a name="_introduction"></a>
+<a name="_introduction"></a>
 <h2 class="h3">Introduction</h2>
 <div class="section">
 <p>This document is a guide for developers wishing to create
@@ -433,7 +435,7 @@ document.write("Last Published: " + docu
 </div>
 
   
-<a name="N1007D"></a><a name="ch_zkDataModel"></a>
+<a name="ch_zkDataModel"></a>
 <h2 class="h3">The ZooKeeper Data Model</h2>
 <div class="section">
 <p>ZooKeeper has a hierarchal name space, much like a distributed file
@@ -488,7 +490,7 @@ document.write("Last Published: " + docu
 </li>
     
 </ul>
-<a name="N100A7"></a><a name="sc_zkDataModel_znodes"></a>
+<a name="sc_zkDataModel_znodes"></a>
 <h3 class="h4">ZNodes</h3>
 <p>Every node in a ZooKeeper tree is referred to as a
       <em>znode</em>. Znodes maintain a stat structure that
@@ -520,14 +522,14 @@ document.write("Last Published: " + docu
 </div>
 <p>Znodes are the main enitity that a programmer access. They have
       several characteristics that are worth mentioning here.</p>
-<a name="N100CA"></a><a name="sc_zkDataMode_watches"></a>
+<a name="sc_zkDataMode_watches"></a>
 <h4>Watches</h4>
 <p>Clients can set watches on znodes. Changes to that znode trigger
         the watch and then clear the watch. When a watch triggers, ZooKeeper
         sends the client a notification. More information about watches can be
         found in the section 
 	    <a href="#ch_zkWatches">ZooKeeper Watches</a>.</p>
-<a name="N100D8"></a><a name="Data+Access"></a>
+<a name="Data+Access"></a>
 <h4>Data Access</h4>
 <p>The data stored at each znode in a namespace is read and written
         atomically. Reads get all the data bytes associated with a znode and a
@@ -547,13 +549,13 @@ document.write("Last Published: " + docu
         large data storage is needed, the usually pattern of dealing with such
         data is to store it on a bulk storage system, such as NFS or HDFS, and
         store pointers to the storage locations in ZooKeeper.</p>
-<a name="N100E5"></a><a name="Ephemeral+Nodes"></a>
+<a name="Ephemeral+Nodes"></a>
 <h4>Ephemeral Nodes</h4>
 <p>ZooKeeper also has the notion of ephemeral nodes. These znodes
         exists as long as the session that created the znode is active. When
         the session ends the znode is deleted. Because of this behavior
         ephemeral znodes are not allowed to have children.</p>
-<a name="N100EF"></a><a name="Sequence+Nodes+--+Unique+Naming"></a>
+<a name="Sequence+Nodes+--+Unique+Naming"></a>
 <h4>Sequence Nodes -- Unique Naming</h4>
 <p>When creating a znode you can also request that
         ZooKeeper append a monotonically increasing counter to the end
@@ -567,7 +569,7 @@ document.write("Last Published: " + docu
         (4bytes) maintained by the parent node, the counter will
         overflow when incremented beyond 2147483647 (resulting in a
         name "&lt;path&gt;-2147483647").</p>
-<a name="N100FE"></a><a name="sc_timeInZk"></a>
+<a name="sc_timeInZk"></a>
 <h3 class="h4">Time in ZooKeeper</h3>
 <p>ZooKeeper tracks time multiple ways:</p>
 <ul>
@@ -636,7 +638,7 @@ document.write("Last Published: " + docu
 </li>
       
 </ul>
-<a name="N10136"></a><a name="sc_zkStatStructure"></a>
+<a name="sc_zkStatStructure"></a>
 <h3 class="h4">ZooKeeper Stat Structure</h3>
 <p>The Stat structure for each znode in ZooKeeper is made up of the
       following fields:</p>
@@ -771,7 +773,7 @@ document.write("Last Published: " + docu
 </div>
 
   
-<a name="N101A8"></a><a name="ch_zkSessions"></a>
+<a name="ch_zkSessions"></a>
 <h2 class="h3">ZooKeeper Sessions</h2>
 <div class="section">
 <p>A ZooKeeper client establishes a session with the ZooKeeper
@@ -953,7 +955,7 @@ document.write("Last Published: " + docu
 </div>
 
   
-<a name="N10203"></a><a name="ch_zkWatches"></a>
+<a name="ch_zkWatches"></a>
 <h2 class="h3">ZooKeeper Watches</h2>
 <div class="section">
 <p>All of the read operations in ZooKeeper - <strong>getData()</strong>,
<strong>getChildren()</strong>, and <strong>exists()</strong> - have
the option of setting a watch as a
@@ -1036,7 +1038,7 @@ document.write("Last Published: " + docu
     general this all occurs transparently. There is one case where a watch
     may be missed: a watch for the existance of a znode not yet created will
     be missed if the znode is created and deleted while disconnected.</p>
-<a name="N10239"></a><a name="sc_WatchGuarantees"></a>
+<a name="sc_WatchGuarantees"></a>
 <h3 class="h4">What ZooKeeper Guarantees about Watches</h3>
 <p>With regard to watches, ZooKeeper maintains these
       guarantees:</p>
@@ -1071,7 +1073,7 @@ document.write("Last Published: " + docu
 </li>
       
 </ul>
-<a name="N1025E"></a><a name="sc_WatchRememberThese"></a>
+<a name="sc_WatchRememberThese"></a>
 <h3 class="h4">Things to Remember about Watches</h3>
 <ul>
         
@@ -1130,7 +1132,7 @@ document.write("Last Published: " + docu
 </div>
 
   
-<a name="N1028A"></a><a name="sc_ZooKeeperAccessControl"></a>
+<a name="sc_ZooKeeperAccessControl"></a>
 <h2 class="h3">ZooKeeper access control using ACLs</h2>
 <div class="section">
 <p>ZooKeeper uses ACLs to control access to its znodes (the
@@ -1165,7 +1167,7 @@ document.write("Last Published: " + docu
     example, the pair <em>(ip:19.22.0.0/16, READ)</em>
     gives the <em>READ</em> permission to any clients with
     an IP address that starts with 19.22.</p>
-<a name="N102BD"></a><a name="sc_ACLPermissions"></a>
+<a name="sc_ACLPermissions"></a>
 <h3 class="h4">ACL Permissions</h3>
 <p>ZooKeeper supports the following permissions:</p>
 <ul>
@@ -1221,7 +1223,7 @@ document.write("Last Published: " + docu
       node, but nothing more. (The problem is, if you want to call
       zoo_exists() on a node that doesn't exist, there is no
       permission to check.)</p>
-<a name="N10313"></a><a name="sc_BuiltinACLSchemes"></a>
+<a name="sc_BuiltinACLSchemes"></a>
 <h4>Builtin ACL Schemes</h4>
 <p>ZooKeeeper has the following built in schemes:</p>
 <ul>
@@ -1270,7 +1272,7 @@ document.write("Last Published: " + docu
 
       
 </ul>
-<a name="N10357"></a><a name="ZooKeeper+C+client+API"></a>
+<a name="ZooKeeper+C+client+API"></a>
 <h4>ZooKeeper C client API</h4>
 <p>The following constants are provided by the ZooKeeper C
       library:</p>
@@ -1492,7 +1494,7 @@ int main(int argc, char argv) {
 </div>
 
   
-<a name="N1046E"></a><a name="sc_ZooKeeperPluggableAuthentication"></a>
+<a name="sc_ZooKeeperPluggableAuthentication"></a>
 <h2 class="h3">Pluggable ZooKeeper authentication</h2>
 <div class="section">
 <p>ZooKeeper runs in a variety of different environments with
@@ -1578,7 +1580,7 @@ authProvider.2=com.f.MyAuth2
 </div>
       
   
-<a name="N104DA"></a><a name="ch_zkGuarantees"></a>
+<a name="ch_zkGuarantees"></a>
 <h2 class="h3">Consistency Guarantees</h2>
 <div class="section">
 <p>ZooKeeper is a high performance, scalable service. Both reads and
@@ -1704,12 +1706,12 @@ authProvider.2=com.f.MyAuth2
 </div>
 
   
-<a name="N10541"></a><a name="ch_bindings"></a>
+<a name="ch_bindings"></a>
 <h2 class="h3">Bindings</h2>
 <div class="section">
 <p>The ZooKeeper client libraries come in two languages: Java and C.
     The following sections describe these.</p>
-<a name="N1054A"></a><a name="Java+Binding"></a>
+<a name="Java+Binding"></a>
 <h3 class="h4">Java Binding</h3>
 <p>There are two packages that make up the ZooKeeper Java binding:
       <strong>org.apache.zookeeper</strong> and <strong>org.apache.zookeeper.data</strong>.
The rest of the
@@ -1776,7 +1778,7 @@ authProvider.2=com.f.MyAuth2
       (SESSION_EXPIRED and AUTH_FAILED), the ZooKeeper object becomes invalid.
       On a close, the two threads shut down and any further access on zookeeper
       handle is undefined behavior and should be avoided. </p>
-<a name="N10593"></a><a name="C+Binding"></a>
+<a name="C+Binding"></a>
 <h3 class="h4">C Binding</h3>
 <p>The C binding has a single-threaded and multi-threaded library.
       The multi-threaded library is easiest to use and is most similar to the
@@ -1793,7 +1795,7 @@ authProvider.2=com.f.MyAuth2
       (i.e. FreeBSD 4.x). In all other cases, application developers should
       link with zookeeper_mt, as it includes support for both Sync and Async
       API.</p>
-<a name="N105A2"></a><a name="Installation"></a>
+<a name="Installation"></a>
 <h4>Installation</h4>
 <p>If you're building the client from a check-out from the Apache
         repository, follow the steps outlined below. If you're building from a
@@ -1924,7 +1926,7 @@ authProvider.2=com.f.MyAuth2
 </li>
         
 </ol>
-<a name="N1064B"></a><a name="Using+the+C+Client"></a>
+<a name="Using+the+C+Client"></a>
 <h4>Using the C Client</h4>
 <p>You can test your client by running a ZooKeeper server (see
         instructions on the project wiki page on how to run it) and connecting
@@ -1982,7 +1984,7 @@ authProvider.2=com.f.MyAuth2
 </div>
 
    
-<a name="N10691"></a><a name="ch_guideToZkOperations"></a>
+<a name="ch_guideToZkOperations"></a>
 <h2 class="h3">Building Blocks: A Guide to ZooKeeper Operations</h2>
 <div class="section">
 <p>This section surveys all the operations a developer can perform
@@ -2000,28 +2002,28 @@ authProvider.2=com.f.MyAuth2
 </li>
     
 </ul>
-<a name="N106A5"></a><a name="sc_errorsZk"></a>
+<a name="sc_errorsZk"></a>
 <h3 class="h4">Handling Errors</h3>
 <p>Both the Java and C client bindings may report errors. The Java client binding does
so by throwing KeeperException, calling code() on the exception will return the specific error
code. The C client binding returns an error code as defined in the enum ZOO_ERRORS. API callbacks
indicate result code for both language bindings. See the API documentation (javadoc for Java,
doxygen for C) for full details on the possible errors and their meaning.</p>
-<a name="N106AF"></a><a name="sc_connectingToZk"></a>
+<a name="sc_connectingToZk"></a>
 <h3 class="h4">Connecting to ZooKeeper</h3>
 <p></p>
-<a name="N106B8"></a><a name="sc_readOps"></a>
+<a name="sc_readOps"></a>
 <h3 class="h4">Read Operations</h3>
 <p></p>
-<a name="N106C1"></a><a name="sc_writeOps"></a>
+<a name="sc_writeOps"></a>
 <h3 class="h4">Write Operations</h3>
 <p></p>
-<a name="N106CA"></a><a name="sc_handlingWatches"></a>
+<a name="sc_handlingWatches"></a>
 <h3 class="h4">Handling Watches</h3>
 <p></p>
-<a name="N106D3"></a><a name="sc_miscOps"></a>
+<a name="sc_miscOps"></a>
 <h3 class="h4">Miscelleaneous ZooKeeper Operations</h3>
 <p></p>
 </div>
 
   
-<a name="N106DD"></a><a name="ch_programStructureWithExample"></a>
+<a name="ch_programStructureWithExample"></a>
 <h2 class="h3">Program Structure, with Simple Example</h2>
 <div class="section">
 <p>
@@ -2030,7 +2032,7 @@ authProvider.2=com.f.MyAuth2
 </div>
 
   
-<a name="N106E8"></a><a name="ch_gotchas"></a>
+<a name="ch_gotchas"></a>
 <h2 class="h3">Gotchas: Common Problems and Troubleshooting</h2>
 <div class="section">
 <p>So now you know ZooKeeper. It's fast, simple, your application

Modified: zookeeper/branches/branch-3.3/docs/zookeeperProgrammers.pdf
URL: http://svn.apache.org/viewvc/zookeeper/branches/branch-3.3/docs/zookeeperProgrammers.pdf?rev=1203072&r1=1203071&r2=1203072&view=diff
==============================================================================
Binary files - no diff available.

Modified: zookeeper/branches/branch-3.3/docs/zookeeperQuotas.html
URL: http://svn.apache.org/viewvc/zookeeper/branches/branch-3.3/docs/zookeeperQuotas.html?rev=1203072&r1=1203071&r2=1203072&view=diff
==============================================================================
--- zookeeper/branches/branch-3.3/docs/zookeeperQuotas.html (original)
+++ zookeeper/branches/branch-3.3/docs/zookeeperQuotas.html Thu Nov 17 06:17:18 2011
@@ -3,7 +3,7 @@
 <head>
 <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <meta content="Apache Forrest" name="Generator">
-<meta name="Forrest-version" content="0.8">
+<meta name="Forrest-version" content="0.9">
 <meta name="Forrest-skin-name" content="pelt">
 <title>ZooKeeper Quota's Guide</title>
 <link type="text/css" href="skin/basic.css" rel="stylesheet">
@@ -204,6 +204,7 @@ document.write("Last Published: " + docu
 </div>
 <h1>ZooKeeper Quota's Guide</h1>
 <h3>A Guide to Deployment and Administration</h3>
+<div id="front-matter">
 <div id="minitoc-area">
 <ul class="minitoc">
 <li>
@@ -222,11 +223,12 @@ document.write("Last Published: " + docu
 </li>
 </ul>
 </div>
+</div>
 	
 	
 	
 	
-<a name="N1000B"></a><a name="zookeeper_quotas"></a>
+<a name="zookeeper_quotas"></a>
 <h2 class="h3">Quotas</h2>
 <div class="section">
 <p> ZooKeeper has both namespace and bytes quotas. You can use the ZooKeeperMain class
to setup quotas.
@@ -238,7 +240,7 @@ document.write("Last Published: " + docu
 	 org.apache.zookeeper.ZooKeeperMain -server host:port</span>
 </p>
 <p> The above command gives you a command line option of using quotas.</p>
-<a name="N1001F"></a><a name="Setting+Quotas"></a>
+<a name="Setting+Quotas"></a>
 <h3 class="h4">Setting Quotas</h3>
 <p>You can use 
 	 <em>setquota</em> to set a quota on a ZooKeeper node. It has an option of setting
quota with
@@ -247,12 +249,12 @@ document.write("Last Published: " + docu
 <p> The ZooKeeper quota are stored in ZooKeeper itself in /zookeeper/quota. To disable
other people from
 	changing the quota's set the ACL for /zookeeper/quota such that only admins are able to
read and write to it.
 	</p>
-<a name="N1002F"></a><a name="Listing+Quotas"></a>
+<a name="Listing+Quotas"></a>
 <h3 class="h4">Listing Quotas</h3>
 <p> You can use
 	<em>listquota</em> to list a quota on a ZooKeeper node.
 	</p>
-<a name="N1003C"></a><a name="Deleting+Quotas"></a>
+<a name="Deleting+Quotas"></a>
 <h3 class="h4"> Deleting Quotas</h3>
 <p> You can use
 	<em>delquota</em> to delete quota on a ZooKeeper node.

Modified: zookeeper/branches/branch-3.3/docs/zookeeperQuotas.pdf
URL: http://svn.apache.org/viewvc/zookeeper/branches/branch-3.3/docs/zookeeperQuotas.pdf?rev=1203072&r1=1203071&r2=1203072&view=diff
==============================================================================
Files zookeeper/branches/branch-3.3/docs/zookeeperQuotas.pdf (original) and zookeeper/branches/branch-3.3/docs/zookeeperQuotas.pdf
Thu Nov 17 06:17:18 2011 differ

Modified: zookeeper/branches/branch-3.3/docs/zookeeperStarted.html
URL: http://svn.apache.org/viewvc/zookeeper/branches/branch-3.3/docs/zookeeperStarted.html?rev=1203072&r1=1203071&r2=1203072&view=diff
==============================================================================
--- zookeeper/branches/branch-3.3/docs/zookeeperStarted.html (original)
+++ zookeeper/branches/branch-3.3/docs/zookeeperStarted.html Thu Nov 17 06:17:18 2011
@@ -3,7 +3,7 @@
 <head>
 <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <meta content="Apache Forrest" name="Generator">
-<meta name="Forrest-version" content="0.8">
+<meta name="Forrest-version" content="0.9">
 <meta name="Forrest-skin-name" content="pelt">
 <title>ZooKeeper Getting Started Guide</title>
 <link type="text/css" href="skin/basic.css" rel="stylesheet">
@@ -203,6 +203,7 @@ document.write("Last Published: " + docu
         PDF</a>
 </div>
 <h1>ZooKeeper Getting Started Guide</h1>
+<div id="front-matter">
 <div id="minitoc-area">
 <ul class="minitoc">
 <li>
@@ -237,12 +238,13 @@ document.write("Last Published: " + docu
 </li>
 </ul>
 </div>
+</div>
   
 
   
 
   
-<a name="N10009"></a><a name="ch_GettingStarted"></a>
+<a name="ch_GettingStarted"></a>
 <h2 class="h3">Getting Started: Coordinating Distributed Applications with
       ZooKeeper</h2>
 <div class="section">
@@ -255,17 +257,17 @@ document.write("Last Published: " + docu
     deployments, and optimizing the transaction log. However for the complete
     instructions for commercial deployments, please refer to the <a href="zookeeperAdmin.html">ZooKeeper
     Administrator's Guide</a>.</p>
-<a name="N10016"></a><a name="sc_Prerequisites"></a>
+<a name="sc_Prerequisites"></a>
 <h3 class="h4">Pre-requisites</h3>
 <p>See <a href="zookeeperAdmin.html#sc_systemReq">
           System Requirements</a> in the Admin guide.</p>
-<a name="N10024"></a><a name="sc_Download"></a>
+<a name="sc_Download"></a>
 <h3 class="h4">Download</h3>
 <p>To get a ZooKeeper distribution, download a recent
         <a href="http://hadoop.apache.org/zookeeper/releases.html">
           stable</a> release from one of the Apache Download
         Mirrors.</p>
-<a name="N10032"></a><a name="sc_InstallingSingleMode"></a>
+<a name="sc_InstallingSingleMode"></a>
 <h3 class="h4">Standalone Operation</h3>
 <p>Setting up a ZooKeeper server in standalone mode is
       straightforward. The server is contained in a single JAR file,
@@ -337,13 +339,13 @@ clientPort=2181
       This is fine for most development situations, but to run ZooKeeper in
       replicated mode, please see <a href="#sc_RunningReplicatedZooKeeper">Running
Replicated
       ZooKeeper</a>.</p>
-<a name="N10083"></a><a name="sc_FileManagement"></a>
+<a name="sc_FileManagement"></a>
 <h3 class="h4">Managing ZooKeeper Storage</h3>
 <p>For long running production systems ZooKeeper storage must
       be managed externally (dataDir and logs). See the section on
       <a href="zookeeperAdmin.html#sc_maintenance">maintenance</a> for
       more details.</p>
-<a name="N10091"></a><a name="sc_ConnectingToZooKeeper"></a>
+<a name="sc_ConnectingToZooKeeper"></a>
 <h3 class="h4">Connecting to ZooKeeper</h3>
 <p>Once ZooKeeper is running, you have several options for connection
       to it:</p>
@@ -516,7 +518,7 @@ numChildren = 0
 [zkshell: 18]
 </pre>
 <p>That's it for now.  To explore more, continue with the rest of this document and
see the <a href="zookeeperProgrammers.html">Programmer's Guide</a>. </p>
-<a name="N10130"></a><a name="sc_ProgrammingToZooKeeper"></a>
+<a name="sc_ProgrammingToZooKeeper"></a>
 <h3 class="h4">Programming to ZooKeeper</h3>
 <p>ZooKeeper has a Java bindings and C bindings. They are
       functionally equivalent. The C bindings exist in two variants: single
@@ -524,7 +526,7 @@ numChildren = 0
       is done. For more information, see the <a href="zookeeperProgrammers.html#ch_programStructureWithExample">Programming
       Examples in the ZooKeeper Programmer's Guide</a> for
       sample code using of the different APIs.</p>
-<a name="N1013E"></a><a name="sc_RunningReplicatedZooKeeper"></a>
+<a name="sc_RunningReplicatedZooKeeper"></a>
 <h3 class="h4">Running Replicated ZooKeeper</h3>
 <p>Running ZooKeeper in standalone mode is convenient for evaluation,
       some development, and testing. But in production, you should run
@@ -584,7 +586,7 @@ server.3=zoo3:2888:3888
       
 </div>
 </div>
-<a name="N1017B"></a><a name="Other+Optimizations"></a>
+<a name="Other+Optimizations"></a>
 <h3 class="h4">Other Optimizations</h3>
 <p>There are a couple of other configuration parameters that can
       greatly increase performance:</p>

Modified: zookeeper/branches/branch-3.3/docs/zookeeperStarted.pdf
URL: http://svn.apache.org/viewvc/zookeeper/branches/branch-3.3/docs/zookeeperStarted.pdf?rev=1203072&r1=1203071&r2=1203072&view=diff
==============================================================================
Binary files - no diff available.

Modified: zookeeper/branches/branch-3.3/docs/zookeeperTutorial.html
URL: http://svn.apache.org/viewvc/zookeeper/branches/branch-3.3/docs/zookeeperTutorial.html?rev=1203072&r1=1203071&r2=1203072&view=diff
==============================================================================
--- zookeeper/branches/branch-3.3/docs/zookeeperTutorial.html (original)
+++ zookeeper/branches/branch-3.3/docs/zookeeperTutorial.html Thu Nov 17 06:17:18 2011
@@ -3,7 +3,7 @@
 <head>
 <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <meta content="Apache Forrest" name="Generator">
-<meta name="Forrest-version" content="0.8">
+<meta name="Forrest-version" content="0.9">
 <meta name="Forrest-skin-name" content="pelt">
 <title>Programming with ZooKeeper - A basic tutorial</title>
 <link type="text/css" href="skin/basic.css" rel="stylesheet">
@@ -203,6 +203,7 @@ document.write("Last Published: " + docu
         PDF</a>
 </div>
 <h1>Programming with ZooKeeper - A basic tutorial</h1>
+<div id="front-matter">
 <div id="minitoc-area">
 <ul class="minitoc">
 <li>
@@ -219,12 +220,13 @@ document.write("Last Published: " + docu
 </li>
 </ul>
 </div>
+</div>
   
 
   
 
   
-<a name="N10009"></a><a name="ch_Introduction"></a>
+<a name="ch_Introduction"></a>
 <h2 class="h3">Introduction</h2>
 <div class="section">
 <p>In this tutorial, we show simple implementations of barriers and 
@@ -275,7 +277,7 @@ This point becomes clear once we go over
 </div>
    
  
-<a name="N1001F"></a><a name="sc_barriers"></a>
+<a name="sc_barriers"></a>
 <h2 class="h3">Barriers</h2>
 <div class="section">
 <p>
@@ -417,7 +419,7 @@ it checks once more whether the root nod
 </pre>
 </div>
 
-<a name="N10051"></a><a name="sc_producerConsumerQueues"></a>
+<a name="sc_producerConsumerQueues"></a>
 <h2 class="h3">Producer-Consumer Queues</h2>
 <div class="section">
 <p>
@@ -544,7 +546,7 @@ from each one.</p>
 </pre>
 </div>
 
-<a name="N1006F"></a><a name="sc_sourceListing"></a>
+<a name="sc_sourceListing"></a>
 <h2 class="h3">Complete Source Listing</h2>
 <div class="section">
 <div class="note example">

Modified: zookeeper/branches/branch-3.3/docs/zookeeperTutorial.pdf
URL: http://svn.apache.org/viewvc/zookeeper/branches/branch-3.3/docs/zookeeperTutorial.pdf?rev=1203072&r1=1203071&r2=1203072&view=diff
==============================================================================
Binary files - no diff available.

Modified: zookeeper/branches/branch-3.3/src/c/configure.ac
URL: http://svn.apache.org/viewvc/zookeeper/branches/branch-3.3/src/c/configure.ac?rev=1203072&r1=1203071&r2=1203072&view=diff
==============================================================================
--- zookeeper/branches/branch-3.3/src/c/configure.ac (original)
+++ zookeeper/branches/branch-3.3/src/c/configure.ac Thu Nov 17 06:17:18 2011
@@ -3,7 +3,7 @@
 
 AC_PREREQ(2.59)
 
-AC_INIT([zookeeper C client],3.3.3,[zookeeper-user@hadoop.apache.org],[c-client-src])
+AC_INIT([zookeeper C client],3.3.4,[zookeeper-user@hadoop.apache.org],[c-client-src])
 AC_CONFIG_SRCDIR([src/zookeeper.c])
 
 # initialize Doxygen support

Modified: zookeeper/branches/branch-3.3/src/c/include/zookeeper_version.h
URL: http://svn.apache.org/viewvc/zookeeper/branches/branch-3.3/src/c/include/zookeeper_version.h?rev=1203072&r1=1203071&r2=1203072&view=diff
==============================================================================
--- zookeeper/branches/branch-3.3/src/c/include/zookeeper_version.h (original)
+++ zookeeper/branches/branch-3.3/src/c/include/zookeeper_version.h Thu Nov 17 06:17:18 2011
@@ -24,7 +24,7 @@ extern "C" {
 
 #define ZOO_MAJOR_VERSION 3
 #define ZOO_MINOR_VERSION 3
-#define ZOO_PATCH_VERSION 3
+#define ZOO_PATCH_VERSION 4
 
 #ifdef __cplusplus
 }

Modified: zookeeper/branches/branch-3.3/src/docs/src/documentation/content/xdocs/releasenotes.xml
URL: http://svn.apache.org/viewvc/zookeeper/branches/branch-3.3/src/docs/src/documentation/content/xdocs/releasenotes.xml?rev=1203072&r1=1203071&r2=1203072&view=diff
==============================================================================
--- zookeeper/branches/branch-3.3/src/docs/src/documentation/content/xdocs/releasenotes.xml
(original)
+++ zookeeper/branches/branch-3.3/src/docs/src/documentation/content/xdocs/releasenotes.xml
Thu Nov 17 06:17:18 2011
@@ -18,7 +18,7 @@
 <!DOCTYPE article PUBLIC "-//OASIS//DTD Simplified DocBook XML V1.0//EN"
 "http://www.oasis-open.org/docbook/xml/simple/1.0/sdocbook.dtd">
 <article id="ar_ReleaseNotes">
-  <title>ZooKeeper 3.3.3 Release Notes</title>
+  <title>ZooKeeper 3.3.4 Release Notes</title>
 
   <articleinfo>
     <legalnotice>
@@ -47,10 +47,10 @@ from version 2 of ZooKeeper (SourceForge
 later.</para>
 
 <section id="changes">
-<title>Changes Since ZooKeeper 3.3.2</title>
+<title>Changes Since ZooKeeper 3.3.3</title>
 
 <table>
-<title>Changes Since ZooKeeper 3.3.2</title>
+<title>Changes Since ZooKeeper 3.3.3</title>
 <tgroup cols='2'>
 <colspec colname='c1'/><colspec colname='c2'/>
 <thead>
@@ -64,45 +64,58 @@ later.</para>
 <row><entry>        Bug
 </entry><entry></entry></row>
 
-<row><entry>[<ulink url='https://issues.apache.org/jira/browse/ZOOKEEPER-880'>ZOOKEEPER-880</ulink>]</entry><entry>
       QuorumCnxManager$SendWorker grows without bounds
+<row><entry>[<ulink url='https://issues.apache.org/jira/browse/ZOOKEEPER-961'>ZOOKEEPER-961</ulink>]</entry><entry>
        Watch recovery after disconnection when connection string contains a prefix
 </entry></row>
-<row><entry>[<ulink url='https://issues.apache.org/jira/browse/ZOOKEEPER-882'>ZOOKEEPER-882</ulink>]</entry><entry>
       Startup loads last transaction from snapshot
+<row><entry>[<ulink url='https://issues.apache.org/jira/browse/ZOOKEEPER-1006'>ZOOKEEPER-1006</ulink>]</entry><entry>
        QuorumPeer &quot;Address already in use&quot; -- regression in 3.3.3
 </entry></row>
-<row><entry>[<ulink url='https://issues.apache.org/jira/browse/ZOOKEEPER-888'>ZOOKEEPER-888</ulink>]</entry><entry>
       c-client / zkpython: Double free corruption on node watcher
+<row><entry>[<ulink url='https://issues.apache.org/jira/browse/ZOOKEEPER-1046'>ZOOKEEPER-1046</ulink>]</entry><entry>
        Creating a new sequential node results in a ZNODEEXISTS error
 </entry></row>
-<row><entry>[<ulink url='https://issues.apache.org/jira/browse/ZOOKEEPER-913'>ZOOKEEPER-913</ulink>]</entry><entry>
       Version parser fails to parse &quot;3.3.2-dev&quot; from build.xml.
+<row><entry>[<ulink url='https://issues.apache.org/jira/browse/ZOOKEEPER-1049'>ZOOKEEPER-1049</ulink>]</entry><entry>
        Session expire/close flooding renders heartbeats to delay significantly
 </entry></row>
-<row><entry>[<ulink url='https://issues.apache.org/jira/browse/ZOOKEEPER-917'>ZOOKEEPER-917</ulink>]</entry><entry>
       Leader election selected incorrect leader
+<row><entry>[<ulink url='https://issues.apache.org/jira/browse/ZOOKEEPER-1069'>ZOOKEEPER-1069</ulink>]</entry><entry>
        Calling shutdown() on a QuorumPeer too quickly can lead to a corrupt log
 </entry></row>
-<row><entry>[<ulink url='https://issues.apache.org/jira/browse/ZOOKEEPER-919'>ZOOKEEPER-919</ulink>]</entry><entry>
       Ephemeral nodes remains in one of ensemble after deliberate SIGKILL
+<row><entry>[<ulink url='https://issues.apache.org/jira/browse/ZOOKEEPER-1087'>ZOOKEEPER-1087</ulink>]</entry><entry>
        ForceSync VM arguement not working when set to &quot;no&quot;
 </entry></row>
-<row><entry>[<ulink url='https://issues.apache.org/jira/browse/ZOOKEEPER-921'>ZOOKEEPER-921</ulink>]</entry><entry>
       zkPython incorrectly checks for existence of required ACL elements
+<row><entry>[<ulink url='https://issues.apache.org/jira/browse/ZOOKEEPER-1097'>ZOOKEEPER-1097</ulink>]</entry><entry>
        Quota is not correctly rehydrated on snapshot reload
 </entry></row>
-<row><entry>[<ulink url='https://issues.apache.org/jira/browse/ZOOKEEPER-957'>ZOOKEEPER-957</ulink>]</entry><entry>
       zkCleanup.sh doesn&#39;t do anything
+<row><entry>[<ulink url='https://issues.apache.org/jira/browse/ZOOKEEPER-1117'>ZOOKEEPER-1117</ulink>]</entry><entry>
        zookeeper 3.3.3 fails to build with gcc &gt;= 4.6.1 on Debian/Ubuntu
 </entry></row>
-<row><entry>[<ulink url='https://issues.apache.org/jira/browse/ZOOKEEPER-962'>ZOOKEEPER-962</ulink>]</entry><entry>
       leader/follower coherence issue when follower is receiving a DIFF
+<row><entry>[<ulink url='https://issues.apache.org/jira/browse/ZOOKEEPER-1154'>ZOOKEEPER-1154</ulink>]</entry><entry>
        Data inconsistency when the node(s) with the highest zxid is not present at the time
of leader election
 </entry></row>
-<row><entry>[<ulink url='https://issues.apache.org/jira/browse/ZOOKEEPER-963'>ZOOKEEPER-963</ulink>]</entry><entry>
       Make Forrest work with JDK6
+<row><entry>[<ulink url='https://issues.apache.org/jira/browse/ZOOKEEPER-1156'>ZOOKEEPER-1156</ulink>]</entry><entry>
        Log truncation truncating log too much - can cause data loss
 </entry></row>
-<row><entry>[<ulink url='https://issues.apache.org/jira/browse/ZOOKEEPER-985'>ZOOKEEPER-985</ulink>]</entry><entry>
       Test BookieRecoveryTest fails on trunk.
+<row><entry>[<ulink url='https://issues.apache.org/jira/browse/ZOOKEEPER-1174'>ZOOKEEPER-1174</ulink>]</entry><entry>
        FD leak when network unreachable
+</entry></row>
+<row><entry>[<ulink url='https://issues.apache.org/jira/browse/ZOOKEEPER-1189'>ZOOKEEPER-1189</ulink>]</entry><entry>
        For an invalid snapshot file(less than 10bytes size) RandomAccessFile stream is leaking.
+</entry></row>
+<row><entry>[<ulink url='https://issues.apache.org/jira/browse/ZOOKEEPER-1203'>ZOOKEEPER-1203</ulink>]</entry><entry>
        Zookeeper systest is missing Junit Classes 
+</entry></row>
+<row><entry>[<ulink url='https://issues.apache.org/jira/browse/ZOOKEEPER-1206'>ZOOKEEPER-1206</ulink>]</entry><entry>
        Sequential node creation does not use always use digits in node name given certain
Locales.
+</entry></row>
+<row><entry>[<ulink url='https://issues.apache.org/jira/browse/ZOOKEEPER-1208'>ZOOKEEPER-1208</ulink>]</entry><entry>
        Ephemeral node not removed after the client session is long gone
+</entry></row>
+<row><entry>[<ulink url='https://issues.apache.org/jira/browse/ZOOKEEPER-1212'>ZOOKEEPER-1212</ulink>]</entry><entry>
        zkServer.sh stop action is not conformat with LSB para 20.2 Init Script Actions
+</entry></row>
+<row><entry>[<ulink url='https://issues.apache.org/jira/browse/ZOOKEEPER-1264'>ZOOKEEPER-1264</ulink>]</entry><entry>
        FollowerResyncConcurrencyTest failing intermittently
+</entry></row>
+<row><entry>[<ulink url='https://issues.apache.org/jira/browse/ZOOKEEPER-1271'>ZOOKEEPER-1271</ulink>]</entry><entry>
        testEarlyLeaderAbandonment failing on solaris - clients not retrying connection
+</entry></row>
+<row><entry>[<ulink url='https://issues.apache.org/jira/browse/ZOOKEEPER-1283'>ZOOKEEPER-1283</ulink>]</entry><entry>
        building 3.3 branch fails with Ant 1.8.2 (success with 1.7.1 though)
 </entry></row>
-
         
 <row><entry>        Improvement
 </entry><entry></entry></row>
 
-<row><entry>[<ulink url='https://issues.apache.org/jira/browse/ZOOKEEPER-960'>ZOOKEEPER-960</ulink>]</entry><entry>
       Publish BookKeeper jars into maven.
+<row><entry>[<ulink url='https://issues.apache.org/jira/browse/ZOOKEEPER-1103'>ZOOKEEPER-1103</ulink>]</entry><entry>
        In QuorumTest, use the same &quot;for ( .. try { break } catch { } )&quot;
pattern in testFollowersStartAfterLeaders as in testSessionMove.
+</entry></row>
+<row><entry>[<ulink url='https://issues.apache.org/jira/browse/ZOOKEEPER-1239'>ZOOKEEPER-1239</ulink>]</entry><entry>
        add logging/stats to identify fsync stalls
+</entry></row>
+<row><entry>[<ulink url='https://issues.apache.org/jira/browse/ZOOKEEPER-1301'>ZOOKEEPER-1301</ulink>]</entry><entry>
        backport patches related to the zk startup script from 3.4 to 3.3 release 
 </entry></row>
-
     
 <row><entry>        New Feature
 </entry><entry></entry></row>
 
-<row><entry>[<ulink url='https://issues.apache.org/jira/browse/ZOOKEEPER-465'>ZOOKEEPER-465</ulink>]</entry><entry>
       Ledger size in bytes
-</entry></row>
-<row><entry>[<ulink url='https://issues.apache.org/jira/browse/ZOOKEEPER-712'>ZOOKEEPER-712</ulink>]</entry><entry>
       Bookie recovery
-</entry></row>
-
 
 </tbody></tgroup></table>
 



Mime
View raw message