HBASE-9662 PerformanceEvaluation input do not handle tags properties
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1526452 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f4f3bc3129
commit
2528b35c82
|
@ -144,7 +144,9 @@ public class PerformanceEvaluation extends Configured implements Tool {
|
||||||
"totalRows=(\\d+),\\s+" +
|
"totalRows=(\\d+),\\s+" +
|
||||||
"clients=(\\d+),\\s+" +
|
"clients=(\\d+),\\s+" +
|
||||||
"flushCommits=(\\w+),\\s+" +
|
"flushCommits=(\\w+),\\s+" +
|
||||||
"writeToWAL=(\\w+)");
|
"writeToWAL=(\\w+),\\s+" +
|
||||||
|
"useTags=(\\w+),\\s+" +
|
||||||
|
"noOfTags=(\\d+)");
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enum for map metrics. Keep it out here rather than inside in the Map
|
* Enum for map metrics. Keep it out here rather than inside in the Map
|
||||||
|
@ -358,7 +360,7 @@ public class PerformanceEvaluation extends Configured implements Tool {
|
||||||
" flushCommits=" + flushCommits +
|
" flushCommits=" + flushCommits +
|
||||||
" writeToWAL=" + writeToWAL +
|
" writeToWAL=" + writeToWAL +
|
||||||
" useTags=" + useTags +
|
" useTags=" + useTags +
|
||||||
" noOfTags=" +noOfTags);
|
" noOfTags=" + noOfTags);
|
||||||
|
|
||||||
PeInputSplit newSplit =
|
PeInputSplit newSplit =
|
||||||
new PeInputSplit(startRow, rows, totalRows, clients,
|
new PeInputSplit(startRow, rows, totalRows, clients,
|
||||||
|
@ -725,7 +727,9 @@ public class PerformanceEvaluation extends Configured implements Tool {
|
||||||
", totalRows=" + this.R +
|
", totalRows=" + this.R +
|
||||||
", clients=" + this.N +
|
", clients=" + this.N +
|
||||||
", flushCommits=" + this.flushCommits +
|
", flushCommits=" + this.flushCommits +
|
||||||
", writeToWAL=" + this.writeToWAL;
|
", writeToWAL=" + this.writeToWAL +
|
||||||
|
", useTags=" + this.useTags +
|
||||||
|
", noOfTags=" + this.noOfTags;
|
||||||
int hash = h.hash(Bytes.toBytes(s));
|
int hash = h.hash(Bytes.toBytes(s));
|
||||||
m.put(hash, s);
|
m.put(hash, s);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue