You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Daniel Dai (JIRA)" <ji...@apache.org> on 2009/10/21 03:27:59 UTC

[jira] Created: (PIG-1033) javac warnings: deprecated hadoop APIs

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.


[jira] Commented: (PIG-1033) javac warnings: deprecated hadoop APIs

Posted by "Olga Natkovich (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-1033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12769337#action_12769337 ] 

Olga Natkovich commented on PIG-1033:
-------------------------------------

+1

> 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
>
>         Attachments: PIG-1033-1.patch
>
>
> 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.


[jira] Assigned: (PIG-1033) javac warnings: deprecated hadoop APIs

Posted by "Alan Gates (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-1033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Gates reassigned PIG-1033:
-------------------------------

    Assignee: Daniel Dai

> 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
>            Assignee: Daniel Dai
>             Fix For: 0.6.0
>
>         Attachments: PIG-1033-1.patch
>
>
> 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.


[jira] Resolved: (PIG-1033) javac warnings: deprecated hadoop APIs

Posted by "Daniel Dai (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-1033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Dai resolved PIG-1033.
-----------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]

Patch committed.

> 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
>
>         Attachments: PIG-1033-1.patch
>
>
> 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.


[jira] Commented: (PIG-1033) javac warnings: deprecated hadoop APIs

Posted by "Olga Natkovich (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-1033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12768741#action_12768741 ] 

Olga Natkovich commented on PIG-1033:
-------------------------------------

I think it is ok to go with the option 1 for now with the understanding that we clean things up as part of the transition to Hadoop 21

> 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.


[jira] Updated: (PIG-1033) javac warnings: deprecated hadoop APIs

Posted by "Daniel Dai (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-1033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Dai updated PIG-1033:
----------------------------

    Attachment: PIG-1033-1.patch

> 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
>
>         Attachments: PIG-1033-1.patch
>
>
> 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.


[jira] Commented: (PIG-1033) javac warnings: deprecated hadoop APIs

Posted by "Daniel Dai (JIRA)" <ji...@apache.org>.
    [ 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.