You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by mw...@apache.org on 2018/12/27 19:15:01 UTC

[accumulo-website] branch asf-site updated: Jekyll build from master:afca188

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

mwalch pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/accumulo-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new bb483a3  Jekyll build from master:afca188
bb483a3 is described below

commit bb483a33fd31e611bffa5fe05783f4d9ce702bd6
Author: Mike Walch <mw...@apache.org>
AuthorDate: Thu Dec 27 14:12:50 2018 -0500

    Jekyll build from master:afca188
    
    Documentation updates (#139)
    
    * Fixed incorrect info in system metadata table docs
    * Updated docs due to changes in dump zookeeper tool
---
 .../troubleshooting/system-metadata-tables.html    | 14 +++---------
 docs/2.x/troubleshooting/tools.html                | 25 ++++++++++++++++++----
 feed.xml                                           |  4 ++--
 redirects.json                                     |  2 +-
 search_data.json                                   |  4 ++--
 5 files changed, 29 insertions(+), 20 deletions(-)

diff --git a/docs/2.x/troubleshooting/system-metadata-tables.html b/docs/2.x/troubleshooting/system-metadata-tables.html
index 0d1257f..d31e889 100644
--- a/docs/2.x/troubleshooting/system-metadata-tables.html
+++ b/docs/2.x/troubleshooting/system-metadata-tables.html
@@ -457,7 +457,6 @@ shell&gt; scan -b 3; -e 3&lt;
 3&lt; file:/default_tablet/F000009y.rf []    186,1
 3&lt; last:13fe86cd27101e5 []    127.0.0.1:9997
 3&lt; loc:13fe86cd27101e5 []    127.0.0.1:9997
-3&lt; log:127.0.0.1+9997/0cb7ce52-ac46-4bf7-ae1d-acdcfaa97995 []    127.0.0.1+9997/0cb7ce52-ac46-4bf7-ae1d-acdcfaa97995|6
 3&lt; srv:dir []    /default_tablet
 3&lt; srv:flush []    1
 3&lt; srv:lock []    tservers/127.0.0.1:9997/zlock-0000000001$13fe86cd27101e5
@@ -481,7 +480,7 @@ shell&gt; scan -b 3; -e 3&lt;
   <li>
     <p><code class="highlighter-rouge">last:13fe86cd27101e5 []    127.0.0.1:9997</code> -
   Last location for this tablet.  It was last held on 127.0.0.1:9997, and the
-  unique tablet server lock data was `13fe86cd27101e5+. The default balancer
+  unique tablet server lock data was <code class="highlighter-rouge">13fe86cd27101e5</code>. The default balancer
   will tend to put tablets back on their last location.</p>
   </li>
   <li>
@@ -489,20 +488,13 @@ shell&gt; scan -b 3; -e 3&lt;
   The current location of this tablet.</p>
   </li>
   <li>
-    <p><code class="highlighter-rouge">log:127.0.0.1+9997/0cb7ce52-ac46-4bf7-ae1d-acdcfaa97995 []    127.0. ...</code> -
-  This tablet has a reference to a single write-ahead log. This file can be found in
-  <code class="highlighter-rouge">/accumulo/wal/127.0.0.1+9997/0cb7ce52-ac46-4bf7-ae1d-acdcfaa97995</code>. The value
-  of this entry could refer to multiple files. This tablet’s data is encoded as
-  <code class="highlighter-rouge">6</code> within the log.</p>
-  </li>
-  <li>
     <p><code class="highlighter-rouge">srv:dir []    /default_tablet</code> -
   Files written for this tablet will be placed into
   <code class="highlighter-rouge">/accumulo/tables/3/default_tablet</code>.</p>
   </li>
   <li>
     <p><code class="highlighter-rouge">srv:flush []    1</code> -
-  Flush id.  This table has successfully completed the flush with the id of +1+.</p>
+  Flush id.  This table has successfully completed the flush with the id of <code class="highlighter-rouge">1</code>.</p>
   </li>
   <li>
     <p><code class="highlighter-rouge">srv:lock []    tservers/127.0.0.1:9997/zlock-0000000001\$13fe86cd27101e5</code> -
@@ -513,7 +505,7 @@ shell&gt; scan -b 3; -e 3&lt;
   </li>
   <li>
     <p><code class="highlighter-rouge">srv:time []    M1373998392323</code> -
-  This indicates the time time type (+M+ for milliseconds or +L+ for logical) and the timestamp of the most recently written key in this tablet.  It is used to ensure automatically assigned key timestamps are strictly increasing for the tablet, regardless of the tablet server’s system time.</p>
+  This indicates the time time type (<code class="highlighter-rouge">M</code> for milliseconds or <code class="highlighter-rouge">L</code> for logical) and the timestamp of the most recently written key in this tablet.  It is used to ensure automatically assigned key timestamps are strictly increasing for the tablet, regardless of the tablet server’s system time.</p>
   </li>
   <li>
     <p><code class="highlighter-rouge">~tab:~pr []    \x00</code> -
diff --git a/docs/2.x/troubleshooting/tools.html b/docs/2.x/troubleshooting/tools.html
index 1f30c5c..6afac20 100644
--- a/docs/2.x/troubleshooting/tools.html
+++ b/docs/2.x/troubleshooting/tools.html
@@ -560,14 +560,31 @@ Enter the connection password:
 
 <p>This command will not delete the instance pointed to by the local <code class="highlighter-rouge">accumulo.properties</code> file.</p>
 
-<h2 id="dumpzookeeper--restorezookeeper">DumpZookeeper &amp; RestoreZookeeper</h2>
+<h2 id="accumulo-util-dump-zoo">accumulo-util dump-zoo</h2>
 
-<p>If you would like to backup, or otherwise examine the contents of Zookeeper, there are commands to dump and load to/from XML.</p>
+<p>To view the contents of ZooKeeper, run the following command:</p>
 
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ accumulo org.apache.accumulo.server.util.DumpZookeeper --root /accumulo &gt;dump.xml
-$ accumulo org.apache.accumulo.server.util.RestoreZookeeper --overwrite &lt; dump.xml
+<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ accumulo-util dump-zoo
 </code></pre></div></div>
 
+<p>It can also be run using the <code class="highlighter-rouge">accumulo</code> command and full class name.</p>
+
+<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ accumulo org.apache.accumulo.server.util.DumpZookeeper
+</code></pre></div></div>
+
+<p>If you would like to backup ZooKeeper, run the following command to write its contents as XML to file.</p>
+
+<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ accumulo-util dump-zoo --xml --root /accumulo &gt;dump.xml
+</code></pre></div></div>
+
+<h1 id="restorezookeeper">RestoreZookeeper</h1>
+
+<p>An XML dump file can be later used to restore ZooKeeper.</p>
+
+<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ accumulo org.apache.accumulo.server.util.RestoreZookeeper --overwrite &lt; dump.xml
+</code></pre></div></div>
+
+<p>This command overwrites ZooKeeper so take care when using it. This is also why it cannot be called using <code class="highlighter-rouge">accumulo-util</code>.</p>
 
 
     <div class="row" style="margin-top: 20px;">
diff --git a/feed.xml b/feed.xml
index 1e16548..4d5b095 100644
--- a/feed.xml
+++ b/feed.xml
@@ -6,8 +6,8 @@
 </description>
     <link>https://accumulo.apache.org/</link>
     <atom:link href="https://accumulo.apache.org/feed.xml" rel="self" type="application/rss+xml"/>
-    <pubDate>Wed, 19 Dec 2018 11:40:10 -0500</pubDate>
-    <lastBuildDate>Wed, 19 Dec 2018 11:40:10 -0500</lastBuildDate>
+    <pubDate>Thu, 27 Dec 2018 14:12:39 -0500</pubDate>
+    <lastBuildDate>Thu, 27 Dec 2018 14:12:39 -0500</lastBuildDate>
     <generator>Jekyll v3.7.3</generator>
     
     
diff --git a/redirects.json b/redirects.json
index 47e1f2a..9d051e4 100644
--- a/redirects.json
+++ b/redirects.json
@@ -1 +1 @@
-{"/release_notes/1.5.1.html":"https://accumulo.apache.org/release/accumulo-1.5.1/","/release_notes/1.6.0.html":"https://accumulo.apache.org/release/accumulo-1.6.0/","/release_notes/1.6.1.html":"https://accumulo.apache.org/release/accumulo-1.6.1/","/release_notes/1.6.2.html":"https://accumulo.apache.org/release/accumulo-1.6.2/","/release_notes/1.7.0.html":"https://accumulo.apache.org/release/accumulo-1.7.0/","/release_notes/1.5.3.html":"https://accumulo.apache.org/release/accumulo-1.5.3/" [...]
\ No newline at end of file
+{"/release_notes/1.5.1.html":"https://accumulo.apache.org/release/accumulo-1.5.1/","/release_notes/1.6.0.html":"https://accumulo.apache.org/release/accumulo-1.6.0/","/release_notes/1.6.1.html":"https://accumulo.apache.org/release/accumulo-1.6.1/","/release_notes/1.6.2.html":"https://accumulo.apache.org/release/accumulo-1.6.2/","/release_notes/1.7.0.html":"https://accumulo.apache.org/release/accumulo-1.7.0/","/release_notes/1.5.3.html":"https://accumulo.apache.org/release/accumulo-1.5.3/" [...]
\ No newline at end of file
diff --git a/search_data.json b/search_data.json
index 7b96bc9..d9420e4 100644
--- a/search_data.json
+++ b/search_data.json
@@ -268,14 +268,14 @@
   
     "docs-2-x-troubleshooting-system-metadata-tables": {
       "title": "System Metadata Tables",
-      "content"	 : "Accumulo tracks information about tables in metadata tables. The metadata formost tables is contained within the metadata table in the accumulo namespace,while metadata for that table is contained in the root table in the accumulonamespace. The root table is composed of a single tablet, which does notsplit, so it is also called the root tablet. Information about the roottable, such as its location and write-ahead logs, are stored in ZooKeeper.Let’s create a table and  [...]
+      "content"	 : "Accumulo tracks information about tables in metadata tables. The metadata formost tables is contained within the metadata table in the accumulo namespace,while metadata for that table is contained in the root table in the accumulonamespace. The root table is composed of a single tablet, which does notsplit, so it is also called the root tablet. Information about the roottable, such as its location and write-ahead logs, are stored in ZooKeeper.Let’s create a table and  [...]
       "url": " /docs/2.x/troubleshooting/system-metadata-tables",
       "categories": "troubleshooting"
     },
   
     "docs-2-x-troubleshooting-tools": {
       "title": "Troubleshooting Tools",
-      "content"	 : "The accumulo command can be used to run various tools and classes from the command line.RFileInfoThe rfile-info tool will examine an Accumulo storage file and print out basic metadata.$ accumulo rfile-info /accumulo/tables/1/default_tablet/A000000n.rf2013-07-16 08:17:14,778 [util.NativeCodeLoader] INFO : Loaded the native-hadoop libraryLocality group         : &amp;lt;DEFAULT&amp;gt;        Start block          : 0        Num   blocks         : 1        Index level 0  [...]
+      "content"	 : "The accumulo command can be used to run various tools and classes from the command line.RFileInfoThe rfile-info tool will examine an Accumulo storage file and print out basic metadata.$ accumulo rfile-info /accumulo/tables/1/default_tablet/A000000n.rf2013-07-16 08:17:14,778 [util.NativeCodeLoader] INFO : Loaded the native-hadoop libraryLocality group         : &amp;lt;DEFAULT&amp;gt;        Start block          : 0        Num   blocks         : 1        Index level 0  [...]
       "url": " /docs/2.x/troubleshooting/tools",
       "categories": "troubleshooting"
     },