You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2014/07/16 17:43:46 UTC
git commit: HBASE-11523 JSON serialization of PE Options is broke
Repository: hbase
Updated Branches:
refs/heads/master a99b71da5 -> 9d8ad39a4
HBASE-11523 JSON serialization of PE Options is broke
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/9d8ad39a
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/9d8ad39a
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/9d8ad39a
Branch: refs/heads/master
Commit: 9d8ad39a4c09fb369d93fec34fca511efbcfcf09
Parents: a99b71d
Author: stack <st...@apache.org>
Authored: Wed Jul 16 08:43:38 2014 -0700
Committer: stack <st...@apache.org>
Committed: Wed Jul 16 08:43:38 2014 -0700
----------------------------------------------------------------------
.../hadoop/hbase/PerformanceEvaluation.java | 138 ++++++++++++++++++-
1 file changed, 137 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/9d8ad39a/hbase-server/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java
index 6bc9fee..6db2e9a 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java
@@ -609,6 +609,142 @@ public class PerformanceEvaluation extends Configured implements Tool {
this.randomSleep = that.randomSleep;
}
+ public String getCmdName() {
+ return cmdName;
+ }
+
+ public void setCmdName(String cmdName) {
+ this.cmdName = cmdName;
+ }
+
+ public int getRandomSleep() {
+ return randomSleep;
+ }
+
+ public void setRandomSleep(int randomSleep) {
+ this.randomSleep = randomSleep;
+ }
+
+ public int getReplicas() {
+ return replicas;
+ }
+
+ public void setReplicas(int replicas) {
+ this.replicas = replicas;
+ }
+
+ public String getSplitPolicy() {
+ return splitPolicy;
+ }
+
+ public void setSplitPolicy(String splitPolicy) {
+ this.splitPolicy = splitPolicy;
+ }
+
+ public void setNomapred(boolean nomapred) {
+ this.nomapred = nomapred;
+ }
+
+ public void setFilterAll(boolean filterAll) {
+ this.filterAll = filterAll;
+ }
+
+ public void setStartRow(int startRow) {
+ this.startRow = startRow;
+ }
+
+ public void setSize(float size) {
+ this.size = size;
+ }
+
+ public void setPerClientRunRows(int perClientRunRows) {
+ this.perClientRunRows = perClientRunRows;
+ }
+
+ public void setNumClientThreads(int numClientThreads) {
+ this.numClientThreads = numClientThreads;
+ }
+
+ public void setTotalRows(int totalRows) {
+ this.totalRows = totalRows;
+ }
+
+ public void setSampleRate(float sampleRate) {
+ this.sampleRate = sampleRate;
+ }
+
+ public void setTraceRate(double traceRate) {
+ this.traceRate = traceRate;
+ }
+
+ public void setTableName(String tableName) {
+ this.tableName = tableName;
+ }
+
+ public void setFlushCommits(boolean flushCommits) {
+ this.flushCommits = flushCommits;
+ }
+
+ public void setWriteToWAL(boolean writeToWAL) {
+ this.writeToWAL = writeToWAL;
+ }
+
+ public void setAutoFlush(boolean autoFlush) {
+ this.autoFlush = autoFlush;
+ }
+
+ public void setOneCon(boolean oneCon) {
+ this.oneCon = oneCon;
+ }
+
+ public void setUseTags(boolean useTags) {
+ this.useTags = useTags;
+ }
+
+ public void setNoOfTags(int noOfTags) {
+ this.noOfTags = noOfTags;
+ }
+
+ public void setReportLatency(boolean reportLatency) {
+ this.reportLatency = reportLatency;
+ }
+
+ public void setMultiGet(int multiGet) {
+ this.multiGet = multiGet;
+ }
+
+ public void setInMemoryCF(boolean inMemoryCF) {
+ this.inMemoryCF = inMemoryCF;
+ }
+
+ public void setPresplitRegions(int presplitRegions) {
+ this.presplitRegions = presplitRegions;
+ }
+
+ public void setCompression(Compression.Algorithm compression) {
+ this.compression = compression;
+ }
+
+ public void setBloomType(BloomType bloomType) {
+ this.bloomType = bloomType;
+ }
+
+ public void setBlockEncoding(DataBlockEncoding blockEncoding) {
+ this.blockEncoding = blockEncoding;
+ }
+
+ public void setValueRandom(boolean valueRandom) {
+ this.valueRandom = valueRandom;
+ }
+
+ public void setValueSize(int valueSize) {
+ this.valueSize = valueSize;
+ }
+
+ public void setPeriod(int period) {
+ this.period = period;
+ }
+
public boolean isNomapred() {
return nomapred;
}
@@ -1615,7 +1751,7 @@ public class PerformanceEvaluation extends Configured implements Tool {
continue;
}
- final String bloomFilter = "--bloomFilter";
+ final String bloomFilter = "--bloomFilter=";
if (cmd.startsWith(bloomFilter)) {
opts.bloomType = BloomType.valueOf(cmd.substring(bloomFilter.length()));
continue;