accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Newton (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-2453) NoClassDefFound building against Hadoop1 in ShellServerTest
Date Tue, 25 Mar 2014 15:28:15 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13946670#comment-13946670
] 

Eric Newton commented on ACCUMULO-2453:
---------------------------------------

I can't reproduce this error.  I did this:

{noformat}
$ git checkout 1.5.1
$ mvn package -Dtest=ShellServerTest -DfailIfNoTests=false -Phadoop-1 -Dhadoop.version=1.0.4
{noformat}


> 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
>            Priority: Minor
>             Fix For: 1.6.1
>
>
> 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)

Mime
View raw message