HBASE-8254 Add lz4 to test compression util usage string
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1465700 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
85cb78d878
commit
1f462ce894
|
@ -18,8 +18,11 @@
|
|||
*/
|
||||
package org.apache.hadoop.hbase.util;
|
||||
|
||||
import java.awt.*;
|
||||
import java.io.IOException;
|
||||
import java.util.Arrays;
|
||||
|
||||
import org.apache.commons.lang.StringUtils;
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
import org.apache.hadoop.classification.InterfaceAudience;
|
||||
|
@ -96,8 +99,10 @@ public class CompressionTest {
|
|||
protected static Path path = new Path(".hfile-comp-test");
|
||||
|
||||
public static void usage() {
|
||||
|
||||
System.err.println(
|
||||
"Usage: CompressionTest <path> none|gz|lzo|snappy\n" +
|
||||
"Usage: CompressionTest <path> " +
|
||||
StringUtils.join( Compression.Algorithm.values(), "|").toLowerCase() +
|
||||
"\n" +
|
||||
"For example:\n" +
|
||||
" hbase " + CompressionTest.class + " file:///tmp/testfile gz\n");
|
||||
|
|
Loading…
Reference in New Issue