HBASE-912 PE is broken when other tables exist

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/branches/0.18@701500 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jean-Daniel Cryans 2008-10-03 19:26:46 +00:00
parent 7c3e3cab20
commit 9c218f0b04
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

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