hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Todd Lipcon <t...@cloudera.com>
Subject Re: HDFS tests with resolvers=internal failing in recent weeks
Date Tue, 20 Apr 2010 21:09:09 GMT
I managed to bandaid this by removing jetty 7 from my local maven cache in
~/.m2/repository, but something seems to be up with the ivy configuration
where it was trying to pull latest.integration instead of 6.1.14.

-Todd

On Tue, Apr 20, 2010 at 1:57 PM, Todd Lipcon <todd@cloudera.com> wrote:

> Has anyone been able to run HDFS with a local common build successfully in
> recent weeks?
>
> I'm running ant -Dresolvers=internal mvn-install in my common repository,
> then ant -Dresolvers=internal test in my HDFS repository
>
> java.lang.NoClassDefFoundError: org/mortbay/jetty/webapp/WebAppContext
>         at
> org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:350)
>         at
> org.apache.hadoop.hdfs.server.namenode.NameNode.activate(NameNode.java:323)
>         at
> org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:310)
>         at
> org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:430)
>         at
> org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:418)
>         at
> org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1343)
>         at
> org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:307)
>         at
> org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:134)
>         at
> org.apache.hadoop.hdfs.server.namenode.TestEditLogRace.testSaveNamespace(TestEditLogRace.java:244)
> Caused by: java.lang.ClassNotFoundException:
> org.mortbay.jetty.webapp.WebAppContext
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
>
> in all the unit tests
>
> --
> Todd Lipcon
> Software Engineer, Cloudera
>



-- 
Todd Lipcon
Software Engineer, Cloudera

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message