Skip to content

Commit

Permalink
PARQUET-271: Fixes parquet-tools java examples
Browse files Browse the repository at this point in the history
Uses a dash (hyphen) in front of the -jar argument per
http://docs.oracle.com/javase/7/docs/technotes/tools/solaris/java.html
and
http://docs.oracle.com/javase/7/docs/technotes/tools/windows/java.html

Author: Brett Stime <[email protected]>

Closes apache#177 from w3iBStime/patch-1 and squashes the following commits:

2a44063 [Brett Stime] Fixes parquet-tools java examples
  • Loading branch information
w3iBStime authored and rdblue committed Apr 30, 2015
1 parent 1be3878 commit b287d35
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions parquet-tools/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,37 +64,37 @@ java jar ./parquet-tools-<VERSION>.jar <command> my_parquet_file.lzo.parquet
To run it on hadoop, you should use "hadoop jar" instead of "java jar"

```sh
usage: java jar ./parquet-tools-<VERSION>.jar cat [option...] <input>
usage: java -jar ./parquet-tools-<VERSION>.jar cat [option...] <input>
where option is one of:
--debug Disable color output even if supported
-h,--help Show this help string
--no-color Disable color output even if supported
where <input> is the parquet file to print to stdout

usage: java jar ./parquet-tools-<VERSION>.jar head [option...] <input>
usage: java -jar ./parquet-tools-<VERSION>.jar head [option...] <input>
where option is one of:
--debug Disable color output even if supported
-h,--help Show this help string
-n,--records <arg> The number of records to show (default: 5)
--no-color Disable color output even if supported
where <input> is the parquet file to print to stdout

usage: java jar ./parquet-tools-<VERSION>.jar schema [option...] <input>
usage: java -jar ./parquet-tools-<VERSION>.jar schema [option...] <input>
where option is one of:
-d,--detailed <arg> Show detailed information about the schema.
--debug Disable color output even if supported
-h,--help Show this help string
--no-color Disable color output even if supported
where <input> is the parquet file containing the schema to show

usage: java jar ./parquet-tools-<VERSION>.jar meta [option...] <input>
usage: java -jar ./parquet-tools-<VERSION>.jar meta [option...] <input>
where option is one of:
--debug Disable color output even if supported
-h,--help Show this help string
--no-color Disable color output even if supported
where <input> is the parquet file to print to stdout

usage: java jar dump [option...] <input>
usage: java -jar dump [option...] <input>
where option is one of:
-c,--column <arg> Dump only the given column, can be specified more than
once
Expand Down

0 comments on commit b287d35

Please sign in to comment.