You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bookkeeper.apache.org by gi...@apache.org on 2019/12/09 09:03:27 UTC

[bookkeeper] branch asf-site updated: Updated site at revision 9d61fb4fe

This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new c552dbf  Updated site at revision 9d61fb4fe
c552dbf is described below

commit c552dbfa09324c2daf70ccad1a7d428c12838276
Author: jenkins <bu...@apache.org>
AuthorDate: Mon Dec 9 09:03:22 2019 +0000

    Updated site at revision 9d61fb4fe
---
 content/docs/latest/admin/autorecovery/index.html |  7 ++-----
 content/docs/latest/admin/bookies/index.html      | 10 ++--------
 2 files changed, 4 insertions(+), 13 deletions(-)

diff --git a/content/docs/latest/admin/autorecovery/index.html b/content/docs/latest/admin/autorecovery/index.html
index a737f74..b2abb7d 100644
--- a/content/docs/latest/admin/autorecovery/index.html
+++ b/content/docs/latest/admin/autorecovery/index.html
@@ -535,23 +535,20 @@
 
 <ul>
   <li>the <code class="highlighter-rouge">shell recover</code> option</li>
-  <li>an IP and port for your BookKeeper cluster’s ZooKeeper ensemble</li>
   <li>the IP and port for the failed bookie</li>
 </ul>
 
 <p>Here’s an example:</p>
 
 <div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">$ </span>bin/bookkeeper shell recover <span class="se">\</span>
-  zk1.example.com:2181 <span class="se">\ </span><span class="c"># IP and port for ZooKeeper</span>
   192.168.1.10:3181      <span class="c"># IP and port for the failed bookie</span>
 </code></pre></div></div>
 
-<p>If you wish, you can also specify which bookie you’d like to rereplicate to. Here’s an example:</p>
+<p>If you wish, you can also specify which ledgers you’d like to recover. Here’s an example:</p>
 
 <div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">$ </span>bin/bookkeeper shell recover <span class="se">\</span>
-  zk1.example.com:2181 <span class="se">\ </span><span class="c"># IP and port for ZooKeeper</span>
   192.168.1.10:3181 <span class="se">\ </span>   <span class="c"># IP and port for the failed bookie</span>
-  192.168.1.11:3181      <span class="c"># IP and port for the bookie to rereplicate to</span>
+  <span class="nt">--ledger</span> ledgerID      <span class="c"># ledgerID which you want to recover </span>
 </code></pre></div></div>
 
 <h3 id="the-manual-recovery-process">The manual recovery process</h3>
diff --git a/content/docs/latest/admin/bookies/index.html b/content/docs/latest/admin/bookies/index.html
index 18f86c3..25b8ca7 100644
--- a/content/docs/latest/admin/bookies/index.html
+++ b/content/docs/latest/admin/bookies/index.html
@@ -720,18 +720,12 @@ org.apache.bookkeeper.bookie.BookieException$InvalidCookieException
   <li>
     <p>Run the following command to re-replicate the data:</p>
 
-    <div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">$ </span>bin/bookkeeper shell recover <span class="se">\</span>
-  &lt;zkserver&gt; <span class="se">\</span>
-  &lt;oldbookie&gt; <span class="se">\</span>
-  &lt;newbookie&gt;
+    <div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">$ </span>bin/bookkeeper shell recover &lt;oldbookie&gt; 
 </code></pre></div>    </div>
 
     <p>The ZooKeeper server, old bookie, and new bookie, are all identified by their external IP and <code class="highlighter-rouge">bookiePort</code> (3181 by default). Here’s an example:</p>
 
-    <div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">$ </span>bin/bookkeeper shell recover <span class="se">\</span>
-  zk1.example.com <span class="se">\</span>
-  192.168.1.10:3181 <span class="se">\</span>
-  192.168.1.10:3181
+    <div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">$ </span>bin/bookkeeper shell recover  192.168.1.10:3181
 </code></pre></div>    </div>
 
     <p>See the <a href="../autorecovery">AutoRecovery</a> documentation for more info on the re-replication process.</p>