hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ndimi...@apache.org
Subject svn commit: r1569565 - in /hbase/trunk: hbase-server/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java pom.xml
Date Tue, 18 Feb 2014 23:48:09 GMT
Author: ndimiduk
Date: Tue Feb 18 23:48:09 2014
New Revision: 1569565

URL: http://svn.apache.org/r1569565
Log:
HBASE-10548 Correct commons-math dependency version

Modified:
    hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java
    hbase/trunk/pom.xml

Modified: hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java?rev=1569565&r1=1569564&r2=1569565&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java
(original)
+++ hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java
Tue Feb 18 23:48:09 2014
@@ -1159,9 +1159,11 @@ public class PerformanceEvaluation exten
     protected void testTakedown() throws IOException {
       super.testTakedown();
       if (this.reportLatency) {
-        DescriptiveStatistics ds;
         Arrays.sort(times);
-        ds = new DescriptiveStatistics(times);
+        DescriptiveStatistics ds = new DescriptiveStatistics();
+        for (double t : times) {
+          ds.addValue(t);
+        }
         LOG.info("randomRead latency log (ms), on " + times.length + " measures");
         LOG.info("99.9999% = " + ds.getPercentile(99.9999d));
         LOG.info(" 99.999% = " + ds.getPercentile(99.999d));

Modified: hbase/trunk/pom.xml
URL: http://svn.apache.org/viewvc/hbase/trunk/pom.xml?rev=1569565&r1=1569564&r2=1569565&view=diff
==============================================================================
--- hbase/trunk/pom.xml (original)
+++ hbase/trunk/pom.xml Tue Feb 18 23:48:09 2014
@@ -898,7 +898,7 @@
     <commons-io.version>2.4</commons-io.version>
     <commons-lang.version>2.6</commons-lang.version>
     <commons-logging.version>1.1.3</commons-logging.version>
-    <commons-math.version>2.2</commons-math.version>
+    <commons-math.version>2.1</commons-math.version>
     <disruptor.version>3.2.0</disruptor.version>
     <collections.version>3.2.1</collections.version>
     <httpclient.version>3.1</httpclient.version>



Mime
View raw message