Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 87C0410020 for ; Tue, 8 Apr 2014 07:25:27 +0000 (UTC) Received: (qmail 941 invoked by uid 500); 8 Apr 2014 07:25:26 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 802 invoked by uid 500); 8 Apr 2014 07:25:24 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 554 invoked by uid 99); 8 Apr 2014 07:25:22 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Apr 2014 07:25:22 +0000 Date: Tue, 8 Apr 2014 07:25:22 +0000 (UTC) From: "Nicolas Liochon (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-10548) Correct commons-math dependency version MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-10548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nicolas Liochon updated HBASE-10548: ------------------------------------ Fix Version/s: hbase-10070 > Correct commons-math dependency version > --------------------------------------- > > Key: HBASE-10548 > URL: https://issues.apache.org/jira/browse/HBASE-10548 > Project: HBase > Issue Type: Bug > Components: test > Affects Versions: 0.96.2, 0.98.1, 0.99.0 > Reporter: Nick Dimiduk > Assignee: Nick Dimiduk > Priority: Minor > Fix For: 0.96.2, 0.98.1, 0.99.0, hbase-10070 > > Attachments: HBASE-10548.00.patch, HBASE-10548.01-0.96.patch, HBASE-10548.01-0.98.patch, HBASE-10548.01.patch > > > From my [comment|https://issues.apache.org/jira/browse/HBASE-10511?focusedCommentId=13902238&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13902238] on HBASE-10511: > I have hadoop-1.2.1 installed from tgz, which packages commons-math-2.1. This is *different* from the listed maven dependency, 2.2. > {noformat} > $ tar tvf hadoop-1.2.1.tar.gz | grep commons-math > -rw-rw-r-- 0 0 0 832410 Jul 22 2013 hadoop-1.2.1/lib/commons-math-2.1.jar > $ mvn -f pom.xml.hadoop1 dependency:tree | grep commons-math > [INFO] | +- org.apache.commons:commons-math:jar:2.2:compile (version managed from 2.1) > [INFO] | +- org.apache.commons:commons-math:jar:2.2:compile (version managed from 2.1) > [INFO] | +- org.apache.commons:commons-math:jar:2.2:compile (version managed from 2.1) > [INFO] | +- org.apache.commons:commons-math:jar:2.2:compile (version managed from 2.1) > [INFO] +- org.apache.commons:commons-math:jar:2.2:compile > [INFO] | +- org.apache.commons:commons-math:jar:2.2:compile > [INFO] +- org.apache.commons:commons-math:jar:2.2:compile > [INFO] | +- org.apache.commons:commons-math:jar:2.2:compile > [INFO] +- org.apache.commons:commons-math:jar:2.2:compile > [INFO] | +- org.apache.commons:commons-math:jar:2.2:compile > [INFO] | +- org.apache.commons:commons-math:jar:2.2:compile > {noformat} > This is a problem because the 2.1 version of [DescriptiveStatistics|http://commons.apache.org/proper/commons-math/javadocs/api-2.1/org/apache/commons/math/stat/descriptive/DescriptiveStatistics.html] doesn't have a double[] constructor. Running the MR job, mappers fail: > {noformat} > java.lang.NoSuchMethodError: org.apache.commons.math.stat.descriptive.DescriptiveStatistics.([D)V > at org.apache.hadoop.hbase.PerformanceEvaluation$RandomReadTest.testTakedown(PerformanceEvaluation.java:1163) > at org.apache.hadoop.hbase.PerformanceEvaluation$Test.test(PerformanceEvaluation.java:984) > at org.apache.hadoop.hbase.PerformanceEvaluation.runOneClient(PerformanceEvaluation.java:1401) > at org.apache.hadoop.hbase.PerformanceEvaluation$EvaluationMapTask.map(PerformanceEvaluation.java:522) > at org.apache.hadoop.hbase.PerformanceEvaluation$EvaluationMapTask.map(PerformanceEvaluation.java:474) > at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:145) > {noformat} -- This message was sent by Atlassian JIRA (v6.2#6252)