Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # dev >> ClassNotFoundException: org.apache.commons.io.FileUtils


Copy link to this message
-
Re: ClassNotFoundException: org.apache.commons.io.FileUtils
I believe we upgraded to commons-io 3.0 in 1.0.3. Did you check the 1.0.3 pom?

-Todd

On Thu, May 17, 2012 at 8:01 PM, Ted Yu <[EMAIL PROTECTED]> wrote:
> Hi,
> HBase 0.92 upgraded hadoop to 1.0.3 today.
> We started seeing some test failures which we didn't see before. e.g.:
> https://builds.apache.org/view/G-L/view/HBase/job/HBase-0.92/410/testReport/org.apache.hadoop.hbase.mapred/TestTableMapReduce/testMultiRegionTable/
> Here is the interesting part:
>
> Caused by: java.lang.ClassNotFoundException: org.apache.commons.io.FileUtils
>        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>        ... 15 more
>
> In hadoop 1.0, I see:
> commons-io.version=2.1
>
> HBase doesn't specify commons-io version.
>
> When I run the same test on MacBook, I don't see the test fail.
>
> commons-io in local mvn repo is 1.3.2
>
> If someone can give me hint on why the unit test failed, that would be
> great.

--
Todd Lipcon
Software Engineer, Cloudera
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB