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:
parent
7c3e3cab20
commit
9c218f0b04
|
@ -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
|
||||
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue