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:
eclark 2013-04-08 18:13:42 +00:00
parent 85cb78d878
commit 1f462ce894
1 changed files with 6 additions and 1 deletions

View File

@ -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");