You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2013/03/12 02:37:12 UTC

[jira] [Resolved] (ACCUMULO-1169) Can't build against CDH3U5

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

Josh Elser resolved ACCUMULO-1169.
----------------------------------

    Resolution: Fixed

Oh, well. I guess that's quite a bit easier, isn't it? Committed in r1455385
                
> Can't build against CDH3U5
> --------------------------
>
>                 Key: ACCUMULO-1169
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1169
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: tserver
>         Environment: branch 1.5
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>            Priority: Critical
>             Fix For: 1.5.0
>
>
> I tried to compile 1.5 against CDH3U5 recently and noticed that I could no longer do so due to a change in server/o.a.a.s.m.r.HadoopLogCloser.
> In CDH3U5, DistributedFileSystem#recoverLease(Path) throws IOException *and* NoSuchMethodException, whereas 0.20.205, 1.0.4, 1.1.0, and 2.0.3-ALPHA (I believe that was the list I checked; regardless, a large majority of Apache Hadoop releases).
> I believe we could do some reflection magic here to catch when the underlying DistributedFileSystem throws the additional exception, and thus know when we have to catch it.
> It would be nice to have this in for 1.5 to support customers who want to use CDH3, but I can understand objections to putting work-arounds in for non-Apache Hadoop versions.
> I'll also try to get a patch together today for this if no one beats me to it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira