hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r822023 - /hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/util/CompressionTest.java
Date Mon, 05 Oct 2009 21:21:40 GMT
Author: stack
Date: Mon Oct  5 21:21:39 2009
New Revision: 822023

URL: http://svn.apache.org/viewvc?rev=822023&view=rev
Log:
HBASE-1875 Compression test utility

Modified:
    hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/util/CompressionTest.java

Modified: hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/util/CompressionTest.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/util/CompressionTest.java?rev=822023&r1=822022&r2=822023&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/util/CompressionTest.java (original)
+++ hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/util/CompressionTest.java Mon Oct
 5 21:21:39 2009
@@ -34,8 +34,8 @@
   protected static Path path = new Path(".hfile-comp-test");
 
   public static void usage() {
-    System.out.println("Usage: CompressionTest HDFS_PATH none|gz|lzo");
-    System.exit(0);
+    System.err.println("Usage: CompressionTest HDFS_PATH none|gz|lzo");
+    System.exit(1);
   }
 
   protected static DistributedFileSystem openConnection(String urlString)
@@ -86,4 +86,4 @@
     System.out.println("FAILED");
     System.exit(1);
   }
-}
\ No newline at end of file
+}



Mime
View raw message