orc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omal...@apache.org
Subject orc git commit: Update site with documentation for -raw on orc-metadata.
Date Fri, 12 Aug 2016 21:49:00 GMT
Repository: orc
Updated Branches:
  refs/heads/asf-site 65ec6aaf4 -> 431994ed2

Update site with documentation for -raw on orc-metadata.

Project: http://git-wip-us.apache.org/repos/asf/orc/repo
Commit: http://git-wip-us.apache.org/repos/asf/orc/commit/431994ed
Tree: http://git-wip-us.apache.org/repos/asf/orc/tree/431994ed
Diff: http://git-wip-us.apache.org/repos/asf/orc/diff/431994ed

Branch: refs/heads/asf-site
Commit: 431994ed22fb85240f0941f283231539f7940eab
Parents: 65ec6aa
Author: Owen O'Malley <omalley@apache.org>
Authored: Fri Aug 12 14:48:27 2016 -0700
Committer: Owen O'Malley <omalley@apache.org>
Committed: Fri Aug 12 14:48:27 2016 -0700

 docs/tools.html | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/docs/tools.html b/docs/tools.html
index 3be5efc..d11e938 100644
--- a/docs/tools.html
+++ b/docs/tools.html
@@ -1097,10 +1097,14 @@ the line breaks within each record):</p>
 <h2 id="orc-metadata">orc-metadata</h2>
 <p>Displays the metadata of the ORC file as a JSON document. With the
-<code>verbose</code> argument additional information about the layout of the
+<code>verbose</code> option additional information about the layout of the file
 is also printed.</p>
-<pre><code class="language-shell">% orc-metadata [-v] &lt;filename&gt;
+<p>For diagnosing problems, it is useful to use the ‘–raw’ option that
+prints the protocol buffers from the ORC file directly rather than
+interpreting them.</p>
+<pre><code class="language-shell">% orc-metadata [-v] [--raw] &lt;filename&gt;
 <p>If you run it on the example file TestOrcFile.test1.orc, you’ll see:</p>
@@ -1130,11 +1134,11 @@ string,struct&lt;int1:int,string1:string&gt;&gt;&gt;",
-<h2 id="file-dump">file-dump</h2>
+<h2 id="java-metadata">Java Metadata</h2>
 <p>The org.apache.orc.tools.FileDump Java class, which is available via Hive as:</p>
-<pre><code class="language-shell">% hive --orcfiledump [-j] [-p] [-d] [-t] [--rowindex
+<pre><code class="language-shell">% java -jar orc-tools-*.jar meta [-j] [-p]
[-t] [--rowindex &lt;cols&gt;]
        [--recover] [--skip-dump] [--backup-path &lt;new path&gt;] &lt;file&gt;
@@ -1143,8 +1147,6 @@ string,struct&lt;int1:int,string1:string&gt;&gt;&gt;",
   <dd>format the output in JSON</dd>
   <dd>pretty print the output</dd>
-  <dt>-d</dt>
-  <dd>print the data instead of the metadata</dd>
   <dd>print the timezone of the writer</dd>
@@ -1159,7 +1161,7 @@ string,struct&lt;int1:int,string1:string&gt;&gt;&gt;",
 <p>An example of the output is given below:</p>
-<pre><code class="language-shell">% hive --orcfiledump examples/TestOrcFile.test1.orc
+<pre><code class="language-shell">% java -jar orc-tools-*.jar meta examples/TestOrcFile.test1.orc
 Processing data file examples/TestOrcFile.test1.orc [length: 1711]
 Structure for examples/TestOrcFile.test1.orc
 File Version: 0.12 with HIVE_8732

View raw message