accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <>
Subject [jira] [Created] (ACCUMULO-3453) Accumulo unit tests fail against Hadoop 2.7.0-SNAPSHOT
Date Mon, 29 Dec 2014 19:10:13 GMT
Josh Elser created ACCUMULO-3453:

             Summary: Accumulo unit tests fail against Hadoop 2.7.0-SNAPSHOT
                 Key: ACCUMULO-3453
             Project: Accumulo
          Issue Type: Bug
          Components: build
            Reporter: Josh Elser
            Assignee: Josh Elser
             Fix For: 1.7.0

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:

[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>(
        at org.apache.hadoop.hdfs.server.namenode.FSImageFormatProtobuf$Saver.<init>(
        at org.apache.hadoop.hdfs.server.namenode.FSImage.saveFSImage(
        at org.apache.hadoop.hdfs.server.namenode.FSImage$
Caused by: java.lang.ClassNotFoundException:
        at Method)
        at java.lang.ClassLoader.loadClass(
        at sun.misc.Launcher$AppClassLoader.loadClass(
        at java.lang.ClassLoader.loadClass(
        ... 5 more

We're still depending on commons-io-2.1 which doesn't contain
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

View raw message