accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Busbey (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-2780) MiniDFSCluster has binary incompatible change between Hadoop 1 & 2
Date Tue, 06 May 2014 19:54:38 GMT
Sean Busbey created ACCUMULO-2780:
-------------------------------------

             Summary: MiniDFSCluster has binary incompatible change between Hadoop 1 &
2
                 Key: ACCUMULO-2780
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2780
             Project: Accumulo
          Issue Type: Bug
          Components: build, test
    Affects Versions: 1.6.0, 1.5.1, 1.5.0
         Environment: https://gist.github.com/joey/4eaca3bc517af0a8b484
            Reporter: Sean Busbey
            Assignee: Christopher Tubbs
            Priority: Minor
             Fix For: 1.5.2, 1.6.1, 1.7.0


We have a test class (start/src/test/java/org/apache/accumulo/test/AccumuloDFSBase.java) that
relies on MiniDFSCluster's getFileSystem method. This method had a binary incompatible method
signature change between Hadoop 1 and Hadoop 2.

This causes successive runs of maven with different hadoop profiles activated to fail with
a method not found exception.

The test should instead get hte URI it needs either by retrieving the dfs uri from the MiniAccumuloCluster.getConfig
call or if needed calling the MiniAccumuloCluster.getFilesystem method rather than the MiniDFSCluster.getFilesystem
method.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message