You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Christopher Tubbs (JIRA)" <ji...@apache.org> on 2015/05/22 02:10:17 UTC

[jira] [Commented] (ACCUMULO-2780) MiniDFSCluster has binary incompatible change between Hadoop 1 & 2

    [ https://issues.apache.org/jira/browse/ACCUMULO-2780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14555328#comment-14555328 ] 

Christopher Tubbs commented on ACCUMULO-2780:
---------------------------------------------

This issue was marked to be fixed for 1.5.3. However, no patch has been provided, and development on 1.5 is waning. Non-urgent issues are not likely to be addressed. Users are encouraged to upgrade to a newer version of Accumulo.

So, I've removed the fixVersion for 1.5.3. I've also removed 1.7.1, because 1.7.0 dropped support for Hadoop 1, so this won't be an issue.

I'm also inclined to close as "Won't Fix" for 1.6 also, because it's a test class, and the simplest solution is to simply perform a clean on the build task {{mvn clean ... }}. Thoughts?

> 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.5.0, 1.5.1, 1.6.0
>         Environment: https://gist.github.com/joey/4eaca3bc517af0a8b484
>            Reporter: Sean Busbey
>            Priority: Minor
>              Labels: newbie
>             Fix For: 1.6.3
>
>
> 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.3.4#6332)