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

Josh Elser commented on ACCUMULO-1820:
--------------------------------------

FileStatus.isDir() is another common one. I haven't hit a case yet where 
there's been the necessity to Suppress an entire class that isn't in src/test.

If I find something I can't work around, I'll try to do some reflection or 
helper magic. Having warnings suppressed on test classes isn't a really big 
concern to me.



> Suppress compiler warnings from hadoop1/2 switchover
> ----------------------------------------------------
>
>                 Key: ACCUMULO-1820
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1820
>             Project: Accumulo
>          Issue Type: Task
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>             Fix For: 1.6.0
>
>
> Switching over from Hadoop1 as the default to Hadoop2 introduced compilation 
> warnings as Hadoop2 introduces new APIs.
> Given that we want to still maintain backwards compatibility, we have to just 
> suppress the warnings, as moving to the new API would break our compatibility.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to