hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nspiegelb...@apache.org
Subject svn commit: r1181403 - in /hbase/branches/0.89/src/test/java/org/apache/hadoop/hbase/loadtest: ColumnFamilyProperties.java LoadTester.java
Date Tue, 11 Oct 2011 02:05:40 GMT
Author: nspiegelberg
Date: Tue Oct 11 02:05:40 2011
New Revision: 1181403

URL: http://svn.apache.org/viewvc?rev=1181403&view=rev
Log:
minor bin/hbase verify changes

Summary:

* if -inputfile option is used, and regionsPerServer
  is not specified, the parseInt call was failing
  without a default.

* changed default regions per region server to 5 from 7.

Reviewed By:kranganathan

Test Plan:ran verify and confirmed that it created 5 regions per region server.

Modified:
    hbase/branches/0.89/src/test/java/org/apache/hadoop/hbase/loadtest/ColumnFamilyProperties.java
    hbase/branches/0.89/src/test/java/org/apache/hadoop/hbase/loadtest/LoadTester.java

Modified: hbase/branches/0.89/src/test/java/org/apache/hadoop/hbase/loadtest/ColumnFamilyProperties.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.89/src/test/java/org/apache/hadoop/hbase/loadtest/ColumnFamilyProperties.java?rev=1181403&r1=1181402&r2=1181403&view=diff
==============================================================================
--- hbase/branches/0.89/src/test/java/org/apache/hadoop/hbase/loadtest/ColumnFamilyProperties.java
(original)
+++ hbase/branches/0.89/src/test/java/org/apache/hadoop/hbase/loadtest/ColumnFamilyProperties.java
Tue Oct 11 02:05:40 2011
@@ -42,7 +42,7 @@ public class ColumnFamilyProperties {
     "\nVerbose=true" +
     "\nClusterTestTime=120" +
     "\nBulkLoad=true" +
-    "\nRegionsPerServer=7" +
+    "\nRegionsPerServer=5" +
     "\n" +
     "\nCF1_Name=ActionLog" +
     "\nCF1_StartTimestamp=10" +
@@ -95,7 +95,7 @@ VerifyPercent=2
 Verbose=true
 ClusterTestTime=120
 BulkLoad=true
-RegionsPerServer=7
+RegionsPerServer=5
 
 CF1_Name=ActionLog
 CF1_StartTimestamp=10

Modified: hbase/branches/0.89/src/test/java/org/apache/hadoop/hbase/loadtest/LoadTester.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.89/src/test/java/org/apache/hadoop/hbase/loadtest/LoadTester.java?rev=1181403&r1=1181402&r2=1181403&view=diff
==============================================================================
--- hbase/branches/0.89/src/test/java/org/apache/hadoop/hbase/loadtest/LoadTester.java (original)
+++ hbase/branches/0.89/src/test/java/org/apache/hadoop/hbase/loadtest/LoadTester.java Tue
Oct 11 02:05:40 2011
@@ -120,7 +120,7 @@ public class LoadTester {
       writer.setBulkLoad(Boolean.parseBoolean(properties.getProperty(
           "BulkLoad", "False")));
       regionsPerServer =
-          Integer.parseInt(properties.getProperty("RegionsPerServer"));
+          Integer.parseInt(properties.getProperty("RegionsPerServer", "5"));
 
       if (verbose == true) {
         LOG.info("Reader Threads: " + readerThreads);



Mime
View raw message