[ 
https://issues.apache.org/jira/browse/MAPREDUCE-2084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12922161#action_12922161
 ] 

Tom White commented on MAPREDUCE-2084:
--------------------------------------

Nigel, the individual classes in MapReduce's org.apache.hadoop.util package 
(LinuxMemoryCalculatorPlugin, MemoryCalculatorPlugin, ProcessTree, 
ProcfsBasedProcessTree) are already marked as deprecated. The reason that I 
added a package-info.java class originally was so that I could mark the whole 
package as @InterfaceAudience.Private, and not have the package show up at all 
in the MapReduce Javadoc. Without this file the package appears in the Javadoc 
but is empty, since all the classes are Private themselves. Thinking about it 
more, the better fix is to keep the package-info.java file, but remove the 
@Deprecated annotation, since this is the part that is tripping up Eclipse.

> Deprecated org.apache.hadoop.util package in MapReduce produces deprecations 
> in Common classes in Eclipse
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-2084
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2084
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 0.21.0
>            Reporter: Tom White
>            Assignee: Tom White
>            Priority: Blocker
>             Fix For: 0.21.1
>
>         Attachments: MAPREDUCE-2084.patch
>
>
> As reported in [this 
> thread|http://mail-archives.apache.org/mod_mbox/hadoop-mapreduce-user/201009.mbox/%[email protected]%3e]
>  the classes in org.apache.hadoop.util from the Common JAR, like Tool, are 
> marked as deprecated by Eclipse, even though they are not deprecated. The fix 
> is to mark the individual classes in the MapReduce org.apache.hadoop.util 
> class as deprecated, not the whole package.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to