[ https://issues.apache.org/jira/browse/PIG-1033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12768528#action_12768528 ]
Daniel Dai commented on PIG-1033: --------------------------------- We have options: 1. Change build.xml to disable deprecation warnings. BTW, hadoop does not check for deprecation when compiling 2. Using @SuppressWarnings("deprecation") to suppress specific blocks. The problem is we cannot suppress import block, all import warnings still there 3. Using @SuppressWarnings("deprecation") and do not import deprecate class. Use full qualified class name for deprecate class when using it. The downside is patch is relatively lengthy. > javac warnings: deprecated hadoop APIs > -------------------------------------- > > Key: PIG-1033 > URL: https://issues.apache.org/jira/browse/PIG-1033 > Project: Pig > Issue Type: Bug > Components: impl > Affects Versions: 0.4.0 > Reporter: Daniel Dai > Fix For: 0.6.0 > > > Suppress javac warnings related to deprecated hadoop APIs. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.