You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by jd...@apache.org on 2008/10/03 21:20:51 UTC

svn commit: r701497 - in /hadoop/hbase/trunk: CHANGES.txt src/test/org/apache/hadoop/hbase/PerformanceEvaluation.java

Author: jdcryans
Date: Fri Oct  3 12:20:50 2008
New Revision: 701497

URL: http://svn.apache.org/viewvc?rev=701497&view=rev
Log:
HBASE-912 PE is broken when other tables exist

Modified:
    hadoop/hbase/trunk/CHANGES.txt
    hadoop/hbase/trunk/src/test/org/apache/hadoop/hbase/PerformanceEvaluation.java

Modified: hadoop/hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/CHANGES.txt?rev=701497&r1=701496&r2=701497&view=diff
==============================================================================
--- hadoop/hbase/trunk/CHANGES.txt (original)
+++ hadoop/hbase/trunk/CHANGES.txt Fri Oct  3 12:20:50 2008
@@ -12,6 +12,7 @@
    HBASE-898   RowResult.containsKey(String) doesn't work
                (Doğacan Güney via Jim Kellerman)
    HBASE-906   [shell] Truncates output
+   HBASE-912   PE is broken when other tables exist
 
   IMPROVEMENTS
    HBASE-901   Add a limit to key length, check key and value length on client side

Modified: hadoop/hbase/trunk/src/test/org/apache/hadoop/hbase/PerformanceEvaluation.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/test/org/apache/hadoop/hbase/PerformanceEvaluation.java?rev=701497&r1=701496&r2=701497&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/test/org/apache/hadoop/hbase/PerformanceEvaluation.java (original)
+++ hadoop/hbase/trunk/src/test/org/apache/hadoop/hbase/PerformanceEvaluation.java Fri Oct  3 12:20:50 2008
@@ -200,7 +200,7 @@
     if (extantTables.length > 0) {
       // Check to see if our table already exists.  Print warning if it does.
       for (int i = 0; i < extantTables.length; i++) {
-        if (extantTables[0].equals(tableDescriptor)) {
+        if (extantTables[1].equals(tableDescriptor)) {
           LOG.warn("Table " + tableDescriptor + " already exists");
           tableExists = true;
           break;
@@ -701,4 +701,4 @@
     System.exit(new PerformanceEvaluation(c).
       doCommandLine(args));
   }
-}
\ No newline at end of file
+}