Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CA4CB10481 for ; Thu, 27 Mar 2014 20:29:45 +0000 (UTC) Received: (qmail 9595 invoked by uid 500); 27 Mar 2014 20:29:36 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 9528 invoked by uid 500); 27 Mar 2014 20:29:34 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 9286 invoked by uid 99); 27 Mar 2014 20:29:29 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Mar 2014 20:29:29 +0000 Date: Thu, 27 Mar 2014 20:29:26 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-2453) NoClassDefFound building against Hadoop1 in ShellServerTest 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/ACCUMULO-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13949880#comment-13949880 ] ASF subversion and git services commented on ACCUMULO-2453: ----------------------------------------------------------- Commit 4a05a17deb36924a126c3e04894fb34b65910565 in accumulo's branch refs/heads/master from [~elserj] [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=4a05a17 ] ACCUMULO-2453 Add in commons-httpclient test dependency > NoClassDefFound building against Hadoop1 in ShellServerTest > ----------------------------------------------------------- > > Key: ACCUMULO-2453 > URL: https://issues.apache.org/jira/browse/ACCUMULO-2453 > Project: Accumulo > Issue Type: Bug > Components: test > Affects Versions: 1.5.1 > Reporter: Josh Elser > Assignee: Josh Elser > Priority: Minor > Fix For: 1.5.2, 1.6.0 > > > Looks like we don't have the profile dependencies correctly set up. I see this building against hadoop1 but not hadoop2. > {noformat} > Exception in thread "Thread-126" java.lang.NoClassDefFoundError: org/apache/commons/httpclient/HttpMethod > at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:437) > Caused by: java.lang.ClassNotFoundException: org.apache.commons.httpclient.HttpMethod > at java.net.URLClassLoader$1.run(URLClassLoader.java:366) > at java.net.URLClassLoader$1.run(URLClassLoader.java:355) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:354) > at java.lang.ClassLoader.loadClass(ClassLoader.java:424) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) > at java.lang.ClassLoader.loadClass(ClassLoader.java:357) > ... 1 more > With failures, global counters are inaccurate; consider running with -i > Copy failed: java.io.IOException: Job failed! > at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1357) > at org.apache.hadoop.tools.DistCp.copy(DistCp.java:667) > at org.apache.hadoop.tools.DistCp.run(DistCp.java:881) > at org.apache.accumulo.test.ShellServerTest.exporttableImporttable(ShellServerTest.java:228) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) > at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) > at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) > at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74) > {noformat} -- This message was sent by Atlassian JIRA (v6.2#6252)