HBASE-10548 Correct commons-math dependency version

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1569565 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
ndimiduk 2014-02-18 23:48:09 +00:00
parent 09e16b32d0
commit 342571498a
2 changed files with 5 additions and 3 deletions

View File

@ -1159,9 +1159,11 @@ public class PerformanceEvaluation extends Configured implements Tool {
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));

View File

@ -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>