HBASE-2787 PE is confused about flushCommits

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@957750 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jean-Daniel Cryans 2010-06-24 23:39:50 +00:00
parent e7cf8cfd08
commit 41a8d9ab2b
2 changed files with 3 additions and 2 deletions

View File

@ -422,6 +422,7 @@ Release 0.21.0 - Unreleased
HBASE-2774 Spin in ReadWriteConsistencyControl eating CPU (load > 40) and
no progress running YCSB on clean cluster startup
HBASE-2785 TestScannerTimeout.test2772 is flaky
HBASE-2787 PE is confused about flushCommits
IMPROVEMENTS
HBASE-1760 Cleanup TODOs in HTable

View File

@ -118,7 +118,7 @@ public class PerformanceEvaluation {
private boolean nomapred = false;
private int N = 1;
private int R = ROWS_PER_GB;
private boolean flushCommits = false;
private boolean flushCommits = true;
private boolean writeToWAL = true;
private static final Path PERF_EVAL_DIR = new Path("performance_evaluation");
@ -1250,7 +1250,7 @@ public class PerformanceEvaluation {
final String writeToWAL = "--writeToWAL=";
if (cmd.startsWith(writeToWAL)) {
this.flushCommits = Boolean.parseBoolean(cmd.substring(writeToWAL.length()));
this.writeToWAL = Boolean.parseBoolean(cmd.substring(writeToWAL.length()));
continue;
}