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