accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-2453) NoClassDefFound building against Hadoop1 in ShellServerTest
Date Thu, 27 Mar 2014 20:33:26 GMT

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

ASF subversion and git services commented on ACCUMULO-2453:
-----------------------------------------------------------

Commit 3ce0bfda3475f6a0e320b1af3e52c545b699d636 in accumulo's branch refs/heads/master from
[~elserj]
[ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=3ce0bfd ]

ACCUMULO-2453 Forgot to remove dependency from the default


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

Mime
View raw message