From 2528b35c820c5018568936c080a2489ac30db6c1 Mon Sep 17 00:00:00 2001 From: mbertozzi Date: Thu, 26 Sep 2013 11:58:50 +0000 Subject: [PATCH] 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 --- .../org/apache/hadoop/hbase/PerformanceEvaluation.java | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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 39eab70f554..a06c7958105 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 @@ -144,7 +144,9 @@ public class PerformanceEvaluation extends Configured implements Tool { "totalRows=(\\d+),\\s+" + "clients=(\\d+),\\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 @@ -358,7 +360,7 @@ public class PerformanceEvaluation extends Configured implements Tool { " flushCommits=" + flushCommits + " writeToWAL=" + writeToWAL + " useTags=" + useTags + - " noOfTags=" +noOfTags); + " noOfTags=" + noOfTags); PeInputSplit newSplit = new PeInputSplit(startRow, rows, totalRows, clients, @@ -725,7 +727,9 @@ public class PerformanceEvaluation extends Configured implements Tool { ", totalRows=" + this.R + ", clients=" + this.N + ", flushCommits=" + this.flushCommits + - ", writeToWAL=" + this.writeToWAL; + ", writeToWAL=" + this.writeToWAL + + ", useTags=" + this.useTags + + ", noOfTags=" + this.noOfTags; int hash = h.hash(Bytes.toBytes(s)); m.put(hash, s); }