mikewalch closed pull request #310: Accumulo 4721 Document rfile-info in the 
user manual
URL: https://github.com/apache/accumulo/pull/310
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/docs/src/main/asciidoc/chapters/troubleshooting.txt 
b/docs/src/main/asciidoc/chapters/troubleshooting.txt
index 359ed67e2d..c9224917e2 100644
--- a/docs/src/main/asciidoc/chapters/troubleshooting.txt
+++ b/docs/src/main/asciidoc/chapters/troubleshooting.txt
@@ -231,15 +231,15 @@ messages to zookeeper.
 
 ### Tools
 
-The accumulo script can be used to run classes from the command line.
+The accumulo script can be used to run various tools and classes from the 
command line.
 This section shows how a few of the utilities work, but there are many
 more.
 
-There's a class that will examine an accumulo storage file and print
+There's a command, +rfile-info+, that will examine an accumulo storage file 
and print
 out basic metadata.
 
 ----
-$ ./bin/accumulo org.apache.accumulo.core.file.rfile.PrintInfo 
/accumulo/tables/1/default_tablet/A000000n.rf
+$ ./bin/accumulo rfile-info /accumulo/tables/1/default_tablet/A000000n.rf
 2013-07-16 08:17:14,778 [util.NativeCodeLoader] INFO : Loaded the 
native-hadoop library
 Locality group         : <DEFAULT>
         Start block          : 0
@@ -265,9 +265,9 @@ Meta block     : RFile.index
       Compression type     : gz
 ----
 
-When trying to diagnose problems related to key size, the +PrintInfo+ tool can 
provide a histogram of the individual key sizes:
+When trying to diagnose problems related to key size, the +rfile-info+ command 
can provide a histogram of the individual key sizes:
 
-    $ ./bin/accumulo org.apache.accumulo.core.file.rfile.PrintInfo --histogram 
/accumulo/tables/1/default_tablet/A000000n.rf
+    $ ./bin/accumulo rfile-info --histogram 
/accumulo/tables/1/default_tablet/A000000n.rf
     ...
     Up to size      count      %-age
              10 :        222  28.23%
@@ -281,9 +281,9 @@ When trying to diagnose problems related to key size, the 
+PrintInfo+ tool can p
      1000000000 :          0   0.00%
     10000000000 :          0   0.00%
 
-Likewise, +PrintInfo+ will dump the key-value pairs and show you the contents 
of the RFile:
+Likewise, +rfile-info+ will dump the key-value pairs and show you the contents 
of the RFile:
 
-    $ ./bin/accumulo org.apache.accumulo.core.file.rfile.PrintInfo --dump 
/accumulo/tables/1/default_tablet/A000000n.rf
+    $ ./bin/accumulo rfile-info --dump 
/accumulo/tables/1/default_tablet/A000000n.rf
     row columnFamily:columnQualifier [visibility] timestamp deleteFlag -> Value
     ...
 
@@ -293,9 +293,9 @@ Likewise, +PrintInfo+ will dump the key-value pairs and 
show you the contents of
 
 *Q*: What are my visibilities?
 
-*A*: Use +PrintInfo+ on a representative file to get some idea of the 
visibilities in the underlying data.
+*A*: Use +rfile-info+ on a representative file to get some idea of the 
visibilities in the underlying data.
 
-Note that the use of +PrintInfo+ is an administrative tool and can only
+Note that the use of +rfile-info+ is an administrative tool and can only
 by used by someone who can access the underlying Accumulo data. It
 does not provide the normal access controls in Accumulo.
 


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to