Преглед на файлове

ZOOKEEPER-1773. incorrect reference to jline version/lib in docs (Manikumar Reddy via phunt)

git-svn-id: https://svn.apache.org/repos/asf/zookeeper/trunk@1528934 13f79535-47bb-0310-9956-ffa450edef68
Patrick D. Hunt преди 11 години
родител
ревизия
f17ef583f7

+ 3 - 0
CHANGES.txt

@@ -406,6 +406,9 @@ BUGFIXES:
   ZOOKEEPER-1733. FLETest#testLE is flaky on windows boxes
   ZOOKEEPER-1733. FLETest#testLE is flaky on windows boxes
   (Jeffrey Zhong via phunt)
   (Jeffrey Zhong via phunt)
 
 
+  ZOOKEEPER-1773. incorrect reference to jline version/lib in docs
+  (Manikumar Reddy via phunt)
+
 IMPROVEMENTS:
 IMPROVEMENTS:
 
 
   ZOOKEEPER-1170. Fix compiler (eclipse) warnings: unused imports,
   ZOOKEEPER-1170. Fix compiler (eclipse) warnings: unused imports,

BIN
docs/index.pdf


BIN
docs/javaExample.pdf


BIN
docs/linkmap.pdf


+ 1 - 1
docs/recipes.html

@@ -456,7 +456,7 @@ document.write("Last Published: " + document.lastModified);
 <li>
 <li>
                     
                     
 <p>if <em>p</em> is the lowest process
 <p>if <em>p</em> is the lowest process
-                      node in L, wait on highest process node in P</p>
+                      node in L, wait on highest process node in L</p>
                   
                   
 </li>
 </li>
 
 

BIN
docs/recipes.pdf


BIN
docs/releasenotes.pdf


+ 31 - 3
docs/zookeeperAdmin.html

@@ -524,7 +524,7 @@ server.3=zoo3:2888:3888</pre>
 
 
           
           
 <p>
 <p>
-<span class="codefrag computeroutput">$ java -cp zookeeper.jar:lib/slf4j-api-1.6.1.jar:lib/slf4j-log4j12-1.6.1.jar:lib/log4j-1.2.15.jar:conf \
+<span class="codefrag computeroutput">$ java -cp zookeeper.jar:lib/slf4j-api-1.7.5.jar:lib/slf4j-log4j12-1.7.5.jar:lib/log4j-1.2.16.jar:conf \
               org.apache.zookeeper.server.quorum.QuorumPeerMain zoo.cfg
               org.apache.zookeeper.server.quorum.QuorumPeerMain zoo.cfg
           </span>
           </span>
 </p>
 </p>
@@ -561,7 +561,7 @@ server.3=zoo3:2888:3888</pre>
 
 
               
               
 <p>
 <p>
-<span class="codefrag computeroutput">$ java -cp zookeeper.jar:lib/slf4j-api-1.6.1.jar:lib/slf4j-log4j12-1.6.1.jar:lib/log4j-1.2.15.jar:conf:src/java/lib/jline-0.9.94.jar \
+<span class="codefrag computeroutput">$ java -cp zookeeper.jar:lib/slf4j-api-1.7.5.jar:lib/slf4j-log4j12-1.7.5.jar:lib/log4j-1.2.16.jar:conf:src/java/lib/jline-2.11.jar \
       org.apache.zookeeper.ZooKeeperMain -server 127.0.0.1:2181</span>
       org.apache.zookeeper.ZooKeeperMain -server 127.0.0.1:2181</span>
 </p>
 </p>
             
             
@@ -885,7 +885,7 @@ server.3=zoo3:2888:3888</pre>
         in the unlikely event a recent log has become corrupted). This
         in the unlikely event a recent log has become corrupted). This
         can be run as a cron job on the ZooKeeper server machines to
         can be run as a cron job on the ZooKeeper server machines to
         clean up the logs daily.</p>
         clean up the logs daily.</p>
-<pre class="code"> java -cp zookeeper.jar:lib/slf4j-api-1.6.1.jar:lib/slf4j-log4j12-1.6.1.jar:lib/log4j-1.2.15.jar:conf org.apache.zookeeper.server.PurgeTxnLog &lt;dataDir&gt; &lt;snapDir&gt; -n &lt;count&gt;</pre>
+<pre class="code"> java -cp zookeeper.jar:lib/slf4j-api-1.7.5.jar:lib/slf4j-log4j12-1.7.5.jar:lib/log4j-1.2.16.jar:conf org.apache.zookeeper.server.PurgeTxnLog &lt;dataDir&gt; &lt;snapDir&gt; -n &lt;count&gt;</pre>
 <p>Automatic purging of the snapshots and corresponding
 <p>Automatic purging of the snapshots and corresponding
         transaction logs was introduced in version 3.4.0 and can be
         transaction logs was introduced in version 3.4.0 and can be
         enabled via the following configuration parameters <strong>autopurge.snapRetainCount</strong> and <strong>autopurge.purgeInterval</strong>. For more on
         enabled via the following configuration parameters <strong>autopurge.snapRetainCount</strong> and <strong>autopurge.purgeInterval</strong>. For more on
@@ -1191,6 +1191,20 @@ server.3=zoo3:2888:3888</pre>
               be triggered. Set to a positive integer (1 and above)
               be triggered. Set to a positive integer (1 and above)
               to enable the auto purging. Defaults to 0.</p>
               to enable the auto purging. Defaults to 0.</p>
 </dd>
 </dd>
+
+          
+<dt>
+<term>syncEnabled</term>
+</dt>
+<dd>
+<p>(Java system property: <strong>zookeeper.observer.syncEnabled</strong>)</p>
+<p>
+<strong>New in 3.4.6, 3.5.0:</strong>
+              The observers now log transaction and write snapshot to disk
+              by default like the participants. This reduces the recovery time
+              of the observers on restart. Set to "false" to disable this
+              feature. Default is "true"</p>
+</dd>
         
         
 </dl>
 </dl>
 <a name="sc_clusterOptions"></a>
 <a name="sc_clusterOptions"></a>
@@ -1449,6 +1463,20 @@ server.3=zoo3:2888:3888</pre>
 <p>Skips ACL checks. This results in a boost in throughput,
 <p>Skips ACL checks. This results in a boost in throughput,
               but opens up full access to the data tree to everyone.</p>
               but opens up full access to the data tree to everyone.</p>
 </dd>
 </dd>
+
+          
+<dt>
+<term>quorumListenOnAllIPs</term>
+</dt>
+<dd>
+<p>When set to true the ZooKeeper server will listen  
+              for connections from its peers on all available IP addresses,
+              and not only the address configured in the server list of the
+              configuration file. It affects the connections handling the 
+              ZAB protocol and the Fast Leader Election protocol. Default
+              value is <strong>false</strong>.</p>
+</dd>
+
         
         
 </dl>
 </dl>
 <a name="Disabling+data+directory+autocreation"></a>
 <a name="Disabling+data+directory+autocreation"></a>

BIN
docs/zookeeperAdmin.pdf


BIN
docs/zookeeperHierarchicalQuorums.pdf


BIN
docs/zookeeperInternals.pdf


BIN
docs/zookeeperJMX.pdf


BIN
docs/zookeeperObservers.pdf


BIN
docs/zookeeperOver.pdf


BIN
docs/zookeeperProgrammers.pdf


+ 1 - 1
docs/zookeeperQuotas.html

@@ -221,7 +221,7 @@ document.write("Last Published: " + document.lastModified);
 	are printed in the log of the ZooKeeper. 
 	are printed in the log of the ZooKeeper. 
 	</p>
 	</p>
 <p>
 <p>
-<span class="codefrag computeroutput">$java -cp zookeeper.jar:src/java/lib/log4j-1.2.15.jar/conf:src/java/lib/jline-0.9.94.jar \
+<span class="codefrag computeroutput">$java -cp zookeeper.jar:src/java/lib/log4j-1.2.16.jar:src/java/lib/jline-2.11.jar:conf \
 	 org.apache.zookeeper.ZooKeeperMain -server host:port</span>
 	 org.apache.zookeeper.ZooKeeperMain -server host:port</span>
 </p>
 </p>
 <p> The above command gives you a command line option of using quotas.</p>
 <p> The above command gives you a command line option of using quotas.</p>

BIN
docs/zookeeperQuotas.pdf


BIN
docs/zookeeperStarted.pdf


BIN
docs/zookeeperTutorial.pdf


+ 3 - 3
src/docs/src/documentation/content/xdocs/zookeeperAdmin.xml

@@ -198,7 +198,7 @@ server.3=zoo3:2888:3888</programlisting>
           <para>If your configuration file is set up, you can start a
           <para>If your configuration file is set up, you can start a
           ZooKeeper server:</para>
           ZooKeeper server:</para>
 
 
-          <para><computeroutput>$ java -cp zookeeper.jar:lib/slf4j-api-1.6.1.jar:lib/slf4j-log4j12-1.6.1.jar:lib/log4j-1.2.15.jar:conf \
+          <para><computeroutput>$ java -cp zookeeper.jar:lib/slf4j-api-1.7.5.jar:lib/slf4j-log4j12-1.7.5.jar:lib/log4j-1.2.16.jar:conf \
               org.apache.zookeeper.server.quorum.QuorumPeerMain zoo.cfg
               org.apache.zookeeper.server.quorum.QuorumPeerMain zoo.cfg
           </computeroutput></para>
           </computeroutput></para>
           
           
@@ -224,7 +224,7 @@ server.3=zoo3:2888:3888</programlisting>
               <para>In Java, you can run the following command to execute
               <para>In Java, you can run the following command to execute
               simple operations:</para>
               simple operations:</para>
 
 
-              <para><computeroutput>$ java -cp zookeeper.jar:lib/slf4j-api-1.6.1.jar:lib/slf4j-log4j12-1.6.1.jar:lib/log4j-1.2.15.jar:conf:src/java/lib/jline-0.9.94.jar \
+              <para><computeroutput>$ java -cp zookeeper.jar:lib/slf4j-api-1.7.5.jar:lib/slf4j-log4j12-1.7.5.jar:lib/log4j-1.2.16.jar:conf:src/java/lib/jline-2.11.jar \
       org.apache.zookeeper.ZooKeeperMain -server 127.0.0.1:2181</computeroutput></para>
       org.apache.zookeeper.ZooKeeperMain -server 127.0.0.1:2181</computeroutput></para>
             </listitem>
             </listitem>
 
 
@@ -481,7 +481,7 @@ server.3=zoo3:2888:3888</programlisting>
         can be run as a cron job on the ZooKeeper server machines to
         can be run as a cron job on the ZooKeeper server machines to
         clean up the logs daily.</para>
         clean up the logs daily.</para>
 
 
-        <programlisting> java -cp zookeeper.jar:lib/slf4j-api-1.6.1.jar:lib/slf4j-log4j12-1.6.1.jar:lib/log4j-1.2.15.jar:conf org.apache.zookeeper.server.PurgeTxnLog &lt;dataDir&gt; &lt;snapDir&gt; -n &lt;count&gt;</programlisting>
+        <programlisting> java -cp zookeeper.jar:lib/slf4j-api-1.7.5.jar:lib/slf4j-log4j12-1.7.5.jar:lib/log4j-1.2.16.jar:conf org.apache.zookeeper.server.PurgeTxnLog &lt;dataDir&gt; &lt;snapDir&gt; -n &lt;count&gt;</programlisting>
 
 
         <para>Automatic purging of the snapshots and corresponding
         <para>Automatic purging of the snapshots and corresponding
         transaction logs was introduced in version 3.4.0 and can be
         transaction logs was introduced in version 3.4.0 and can be

+ 1 - 1
src/docs/src/documentation/content/xdocs/zookeeperQuotas.xml

@@ -43,7 +43,7 @@
 	ZooKeeper prints <emphasis>WARN</emphasis> messages if users exceed the quota assigned to them. The messages 
 	ZooKeeper prints <emphasis>WARN</emphasis> messages if users exceed the quota assigned to them. The messages 
 	are printed in the log of the ZooKeeper. 
 	are printed in the log of the ZooKeeper. 
 	</para>
 	</para>
-	<para><computeroutput>$java -cp zookeeper.jar:src/java/lib/log4j-1.2.15.jar/conf:src/java/lib/jline-0.9.94.jar \
+	<para><computeroutput>$java -cp zookeeper.jar:src/java/lib/log4j-1.2.16.jar:src/java/lib/jline-2.11.jar:conf \
 	 org.apache.zookeeper.ZooKeeperMain -server host:port</computeroutput></para> 
 	 org.apache.zookeeper.ZooKeeperMain -server host:port</computeroutput></para> 
 	 <para> The above command gives you a command line option of using quotas.</para>
 	 <para> The above command gives you a command line option of using quotas.</para>
 	 <section>
 	 <section>