[
https://issues.apache.org/jira/browse/ACCUMULO-1169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13599659#comment-13599659
]
Hudson commented on ACCUMULO-1169:
----------------------------------
Integrated in Accumulo-1.5 #29 (See
[https://builds.apache.org/job/Accumulo-1.5/29/])
ACCUMULO-1169 A much easier solution to differing "throws" declarations is
to just not be specific about the Exception being thrown. (Revision 1455385)
Result = SUCCESS
elserj :
Files :
*
/accumulo/branches/1.5/server/src/main/java/org/apache/accumulo/server/master/recovery/HadoopLogCloser.java
> 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