You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Tom White (JIRA)" <ji...@apache.org> on 2010/02/19 06:19:28 UTC

[jira] Created: (MAPREDUCE-1511) Examples should not use deprecated APIs

Examples should not use deprecated APIs
---------------------------------------

                 Key: MAPREDUCE-1511
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1511
             Project: Hadoop Map/Reduce
          Issue Type: Improvement
          Components: job submission
            Reporter: Tom White
            Assignee: Tom White


MAPREDUCE-777 deprecated some APIs which are still being used by the examples. This issue is to fix the examples so they use the replacements.


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


[jira] Updated: (MAPREDUCE-1511) Examples should not use deprecated APIs

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

Tom White updated MAPREDUCE-1511:
---------------------------------

    Attachment: MAPREDUCE-1511.patch

Patch to remove the deprecations.

> Examples should not use deprecated APIs
> ---------------------------------------
>
>                 Key: MAPREDUCE-1511
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1511
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: job submission
>            Reporter: Tom White
>            Assignee: Tom White
>         Attachments: MAPREDUCE-1511.patch
>
>
> MAPREDUCE-777 deprecated some APIs which are still being used by the examples. This issue is to fix the examples so they use the replacements.

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


[jira] Commented: (MAPREDUCE-1511) Examples should not use deprecated APIs

Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-1511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835634#action_12835634 ] 

Owen O'Malley commented on MAPREDUCE-1511:
------------------------------------------

I think that it was a mistake to deprecate the old API. I propose that we close this as a duplicate of MAPREDUCE-1456.

> Examples should not use deprecated APIs
> ---------------------------------------
>
>                 Key: MAPREDUCE-1511
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1511
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: job submission
>            Reporter: Tom White
>            Assignee: Tom White
>         Attachments: MAPREDUCE-1511.patch
>
>
> MAPREDUCE-777 deprecated some APIs which are still being used by the examples. This issue is to fix the examples so they use the replacements.

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


[jira] Commented: (MAPREDUCE-1511) Examples should not use deprecated APIs

Posted by "Tom White (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-1511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835766#action_12835766 ] 

Tom White commented on MAPREDUCE-1511:
--------------------------------------

The constructors were deprecated in favour of a factory-style interface, for a use case described [here|https://issues.apache.org/jira/browse/MAPREDUCE-777?focusedCommentId=12733851&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12733851]. The factory-style interface is a more future-proof API in this case.

> Examples should not use deprecated APIs
> ---------------------------------------
>
>                 Key: MAPREDUCE-1511
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1511
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: job submission
>            Reporter: Tom White
>            Assignee: Tom White
>         Attachments: MAPREDUCE-1511.patch
>
>
> MAPREDUCE-777 deprecated some APIs which are still being used by the examples. This issue is to fix the examples so they use the replacements.

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


[jira] Commented: (MAPREDUCE-1511) Examples should not use deprecated APIs

Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-1511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836512#action_12836512 ] 

Amareshwari Sriramadasu commented on MAPREDUCE-1511:
----------------------------------------------------

Looked at the patch. Changes look fine.
Example Sort still calls deprecated api from DistributedCache (MAPREDUCE-898). DistributedCache.addCacheFile() and DistributedCache.createSymlink() can be replaced with corresponding calls in Job.

> Examples should not use deprecated APIs
> ---------------------------------------
>
>                 Key: MAPREDUCE-1511
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1511
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: job submission
>            Reporter: Tom White
>            Assignee: Tom White
>         Attachments: MAPREDUCE-1511.patch
>
>
> MAPREDUCE-777 deprecated some APIs which are still being used by the examples. This issue is to fix the examples so they use the replacements.

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