accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ACCUMULO-3453) Accumulo unit tests fail against Hadoop 2.7.0-SNAPSHOT
Date Mon, 29 Dec 2014 20:01:13 GMT

     [ https://issues.apache.org/jira/browse/ACCUMULO-3453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Josh Elser resolved ACCUMULO-3453.
----------------------------------
    Resolution: Fixed

Bumped the commons-io dependency from 2.1 to 2.4 in 1.7.0-SNAPSHOT.

> Accumulo unit tests fail against Hadoop 2.7.0-SNAPSHOT
> ------------------------------------------------------
>
>                 Key: ACCUMULO-3453
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3453
>             Project: Accumulo
>          Issue Type: Bug
>          Components: build
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>             Fix For: 1.7.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Tried to build against a 2.7.0-SNAPSHOT and got org.apache.accumulo.start.classloader.vfs.providers.VfsClassLoaderTest
and org.apache.accumulo.start.classloader.vfs.providers.ReadOnlyHdfsFileProviderTest failures.
> Looking at the test output:
> {noformat}
> [FSImageSaver for .../start/target/build/test/data/dfs/name1 of type IMAGE_AND_EDITS}
ERROR org.apache.hadoop.hdfs.server.namenode.FSImage  - Unable to save image for .../start/target/build/test/data/dfs/name1
> java.lang.NoClassDefFoundError: org/apache/commons/io/Charsets
>         at org.apache.hadoop.hdfs.server.namenode.FSImageUtil.<clinit>(FSImageUtil.java:36)
>         at org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf$Saver.<init>(FSImageFormatProtobuf.java:357)
>         at org.apache.hadoop.hdfs.server.namenode.FSImage.saveFSImage(FSImage.java:946)
>         at org.apache.hadoop.hdfs.server.namenode.FSImage$FSImageSaver.run(FSImage.java:999)
>         at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.ClassNotFoundException: org.apache.commons.io.Charsets
>         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:425)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>         ... 5 more
> {noformat}
> We're still depending on commons-io-2.1 which doesn't contain org.apache.commons.io.Charsets.
Thus, the transitive dependency on 2.4 from Hadoop gets overridden and we fail.
> We should upgrade our dependency on commons-io to 2.4.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message