Selaa lähdekoodia

ZOOKEEPER-1918. Add 64 bit Windows as a supported development platform (Michi Mutsuzaki via phunt)

git-svn-id: https://svn.apache.org/repos/asf/zookeeper/trunk@1607524 13f79535-47bb-0310-9956-ffa450edef68
Patrick D. Hunt 11 vuotta sitten
vanhempi
commit
0bb12aeff5

+ 3 - 0
CHANGES.txt

@@ -950,6 +950,9 @@ IMPROVEMENTS:
   ZOOKEEPER-1576. Zookeeper cluster - failed to connect to cluster if one of the 
   provided IPs causes java.net.UnknownHostException (Edward Ribeiro via camille)
 
+  ZOOKEEPER-1918. Add 64 bit Windows as a supported development
+  platform (Michi Mutsuzaki via phunt)
+
 headers
 
 Release 3.4.0 - 

BIN
docs/index.pdf


BIN
docs/javaExample.pdf


BIN
docs/linkmap.pdf


+ 4 - 4
docs/recipes.html

@@ -227,7 +227,7 @@ document.write("Last Published: " + document.lastModified);
 <a href="#Shared+Locks">Shared Locks</a>
 </li>
 <li>
-<a href="#sc_recoverableSharedLocks">Recoverable Shared Locks</a>
+<a href="#sc_revocableSharedLocks">Revocable Shared Locks</a>
 </li>
 </ul>
 </li>
@@ -830,8 +830,8 @@ document.write("Last Published: " + document.lastModified);
 </li>
     
 </ul>
-<a name="sc_recoverableSharedLocks"></a>
-<h4>Recoverable Shared Locks</h4>
+<a name="sc_revocableSharedLocks"></a>
+<h4>Revocable Shared Locks</h4>
 <p>With minor modifications to the Shared Lock protocol, you make
       shared locks revocable by modifying the shared lock protocol:</p>
 <p>In step <strong>1</strong>, of both obtain reader
@@ -891,7 +891,7 @@ document.write("Last Published: " + document.lastModified);
     znodes that represent "proposals" of clients. The idea is to have a znode,
     say "/election", such that each znode creates a child znode "/election/guid-n_"
     with both flags SEQUENCE|EPHEMERAL. With the sequence flag, ZooKeeper
-    automatically appends a sequence number that is greater that any one
+    automatically appends a sequence number that is greater than any one
     previously appended to a child of "/election". The process that created
     the znode with the smallest appended sequence number is the leader.
     </p>

BIN
docs/recipes.pdf


BIN
docs/releasenotes.pdf


+ 25 - 0
docs/zookeeperAdmin.html

@@ -402,6 +402,13 @@ document.write("Last Published: " + document.lastModified);
           
 <li>
             
+<p>Win64 is supported as a <em>development
+            platform</em> only for both server and client.</p>
+          
+</li>
+          
+<li>
+            
 <p>MacOSX is supported as a <em>development
             platform</em> only for both server and client.</p>
           
@@ -1358,6 +1365,24 @@ server.3=zoo3:2888:3888</pre>
 </div>
 </div>
 </dd>
+
+          
+<dt>
+<term>standaloneEnabled</term>
+</dt>
+<dd>
+<p>(No Java system property)</p>
+<p>
+<strong>New in 3.5.0:</strong>
+              When set to false, a single server can be started in replicated
+              mode, a lone participant can run with observers, and a cluster
+              can reconfigure down to one node, and up from one node. The
+              default is true for backwards compatibility. It can be set
+              using QuorumPeerConfig's setStandaloneEnabled method or by
+              adding "standaloneEnabled=false" or "standaloneEnabled=true"
+              to a server's config file.
+              </p>
+</dd>
         
 </dl>
 <p></p>

BIN
docs/zookeeperAdmin.pdf


BIN
docs/zookeeperHierarchicalQuorums.pdf


BIN
docs/zookeeperInternals.pdf


BIN
docs/zookeeperJMX.pdf


BIN
docs/zookeeperObservers.pdf


BIN
docs/zookeeperOver.pdf


+ 91 - 2
docs/zookeeperProgrammers.html

@@ -230,6 +230,12 @@ document.write("Last Published: " + document.lastModified);
 <a href="#ch_zkWatches">ZooKeeper Watches</a>
 <ul class="minitoc">
 <li>
+<a href="#sc_WatchSemantics">Semantics of Watches</a>
+</li>
+<li>
+<a href="#sc_WatchRemoval">Remove Watches</a>
+</li>
+<li>
 <a href="#sc_WatchGuarantees">What ZooKeeper Guarantees about Watches</a>
 </li>
 <li>
@@ -452,8 +458,7 @@ document.write("Last Published: " + document.lastModified);
 <li>
         
 <p>The following characters are not allowed: \ud800 - uF8FF,
-        \uFFF0 - uFFFF, \uXFFFE - \uXFFFF (where X is a digit 1 - E), \uF0000 -
-        \uFFFFF.</p>
+        \uFFF0 - uFFFF.</p>
       
 </li>
 
@@ -1055,6 +1060,90 @@ document.write("Last Published: " + document.lastModified);
     general this all occurs transparently. There is one case where a watch
     may be missed: a watch for the existence of a znode not yet created will
     be missed if the znode is created and deleted while disconnected.</p>
+<a name="sc_WatchSemantics"></a>
+<h3 class="h4">Semantics of Watches</h3>
+<p> We can set watches with the three calls that read the state of 
+	  ZooKeeper: exists, getData, and getChildren. The following list details
+	  the events that a watch can trigger and the calls that enable them:
+	  </p>
+<ul>
+        
+<li>
+          
+<p>
+<strong>Created event:</strong>
+</p>
+          
+<p>Enabled with a call to exists.</p>
+        
+</li>
+        
+        
+<li>
+          
+<p>
+<strong>Deleted event:</strong>
+</p>
+          
+<p>Enabled with a call to exists, getData, and getChildren.</p>
+        
+</li>
+        
+        
+<li>
+          
+<p>
+<strong>Changed event:</strong>
+</p>
+          
+<p>Enabled with a call to exists and getData.</p>
+        
+</li>
+        
+        
+<li>
+          
+<p>
+<strong>Child event:</strong>
+</p>
+          
+<p>Enabled with a call to getChildren.</p>
+        
+</li>
+      
+</ul>
+<a name="sc_WatchRemoval"></a>
+<h3 class="h4">Remove Watches</h3>
+<p>We can remove the watches registered on a znode with a call to 
+      removeWatches. Also, a ZooKeeper client can remove watches locally even
+      if there is no server connection by setting the local flag to true. The 
+      following list details the events which will be triggered after the 
+      successful watch removal.
+      </p>
+<ul>
+        
+<li>
+          
+<p>
+<strong>Child Remove event:</strong>
+</p>
+          
+<p>Watcher which was added with a call to getChildren.</p>
+        
+</li>
+        
+        
+<li>
+          
+<p>
+<strong>Data Remove event:</strong>
+</p>
+          
+<p>Watcher which was added with a call to exists or getData.</p>
+        
+</li>
+      
+</ul>
 <a name="sc_WatchGuarantees"></a>
 <h3 class="h4">What ZooKeeper Guarantees about Watches</h3>
 <p>With regard to watches, ZooKeeper maintains these

BIN
docs/zookeeperProgrammers.pdf


BIN
docs/zookeeperQuotas.pdf


+ 1 - 1
docs/zookeeperStarted.html

@@ -404,7 +404,7 @@ ZooKeeper host:port cmd args
         delquota [-n|-b] path
         quit
         printwatches on|off
-        createpath data acl
+        create path data acl
         stat path [watch]
         listquota path
         history

BIN
docs/zookeeperStarted.pdf


BIN
docs/zookeeperTutorial.pdf


+ 4 - 0
src/docs/src/documentation/content/xdocs/zookeeperAdmin.xml

@@ -91,6 +91,10 @@
             <para>Win32 is supported as a <emphasis>development
             platform</emphasis> only for both server and client.</para>
           </listitem>
+          <listitem>
+            <para>Win64 is supported as a <emphasis>development
+            platform</emphasis> only for both server and client.</para>
+          </listitem>
           <listitem>
             <para>MacOSX is supported as a <emphasis>development
             platform</emphasis> only for both server and client.</para>