HBASE-20023 CompactionTool command line examples are incorrect

Signed-off-by: tedyu <yuzhihong@gmail.com>
This commit is contained in:
Artem Ervits 2018-02-20 10:15:27 -05:00 committed by tedyu
parent 0152d5e2ae
commit a5443c18d2

View File

@ -460,10 +460,10 @@ public class CompactionTool extends Configured implements Tool {
System.err.println(); System.err.println();
System.err.println("Examples:"); System.err.println("Examples:");
System.err.println(" To compact the full 'TestTable' using MapReduce:"); System.err.println(" To compact the full 'TestTable' using MapReduce:");
System.err.println(" $ hbase " + this.getClass().getName() + " -mapred hdfs:///hbase/data/default/TestTable"); System.err.println(" $ hbase " + this.getClass().getName() + " -mapred hdfs://hbase/data/default/TestTable");
System.err.println(); System.err.println();
System.err.println(" To compact column family 'x' of the table 'TestTable' region 'abc':"); System.err.println(" To compact column family 'x' of the table 'TestTable' region 'abc':");
System.err.println(" $ hbase " + this.getClass().getName() + " hdfs:///hbase/data/default/TestTable/abc/x"); System.err.println(" $ hbase " + this.getClass().getName() + " hdfs://hbase/data/default/TestTable/abc/x");
} }
public static void main(String[] args) throws Exception { public static void main(String[] args) throws Exception {