Author: nkeywal
Date: Tue Apr 8 07:24:10 2014
New Revision: 1585651
URL: http://svn.apache.org/r1585651
Log:
HBASE-10548 Correct commons-math dependency version (Nick Dimiduk)
Modified:
hbase/branches/hbase-10070/hbase-server/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java
hbase/branches/hbase-10070/pom.xml
Modified:
hbase/branches/hbase-10070/hbase-server/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java
URL:
http://svn.apache.org/viewvc/hbase/branches/hbase-10070/hbase-server/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java?rev=1585651&r1=1585650&r2=1585651&view=diff
==============================================================================
---
hbase/branches/hbase-10070/hbase-server/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java
(original)
+++
hbase/branches/hbase-10070/hbase-server/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java
Tue Apr 8 07:24:10 2014
@@ -1204,9 +1204,11 @@ public class PerformanceEvaluation exten
}
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/branches/hbase-10070/pom.xml
URL:
http://svn.apache.org/viewvc/hbase/branches/hbase-10070/pom.xml?rev=1585651&r1=1585650&r2=1585651&view=diff
==============================================================================
--- hbase/branches/hbase-10070/pom.xml (original)
+++ hbase/branches/hbase-10070/pom.xml Tue Apr 8 07:24:10 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>