diff --git a/CHANGES.txt b/CHANGES.txt index 286464ab266..2df2a8d6785 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -5,6 +5,7 @@ Release 0.18.1 - Unreleased BUG FIXES HBASE-891 HRS.validateValuesLength throws IOE, gets caught in the retries HBASE-906 [shell] Truncates output + HBASE-912 PE is broken when other tables exist Release 0.18.0 - September 21st, 2008 diff --git a/src/test/org/apache/hadoop/hbase/PerformanceEvaluation.java b/src/test/org/apache/hadoop/hbase/PerformanceEvaluation.java index 9ec2e859292..d05e9c2a12f 100644 --- a/src/test/org/apache/hadoop/hbase/PerformanceEvaluation.java +++ b/src/test/org/apache/hadoop/hbase/PerformanceEvaluation.java @@ -200,7 +200,7 @@ public class PerformanceEvaluation implements HConstants { 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[i].equals(tableDescriptor)) { LOG.warn("Table " + tableDescriptor + " already exists"); tableExists = true; break; @@ -701,4 +701,4 @@ public class PerformanceEvaluation implements HConstants { System.exit(new PerformanceEvaluation(c). doCommandLine(args)); } -} \ No newline at end of file +}