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 "Yiqun Lin (JIRA)" <ji...@apache.org> on 2016/12/12 05:21:59 UTC

[jira] [Updated] (MAPREDUCE-6821) Update deprecated API of ObjectReader after Jackson upgraded

     [ https://issues.apache.org/jira/browse/MAPREDUCE-6821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yiqun Lin updated MAPREDUCE-6821:
---------------------------------
    Status: Patch Available  (was: Open)

Simple patch attached.

> Update deprecated API of ObjectReader after Jackson upgraded
> ------------------------------------------------------------
>
>                 Key: MAPREDUCE-6821
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6821
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>    Affects Versions: 3.0.0-alpha2
>            Reporter: Yiqun Lin
>            Assignee: Yiqun Lin
>            Priority: Minor
>         Attachments: MAPREDUCE-6821.001.patch
>
>
> We should update the deprecated APIs after Jackson upgraded. This issue is similar to HDFS-11233. In MAPREDUCE, there is just one place using deprecated API. We can updated the code here.
> {code}
> class JobSubmitter {
>   protected static final Log LOG = LogFactory.getLog(JobSubmitter.class);
>   private static final ObjectReader READER =
>       new ObjectMapper().reader(Map.class);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org