hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira AJISAKA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-5800) Use Job#getInstance instead of deprecated constructors
Date Mon, 08 Dec 2014 05:52:12 GMT

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

Akira AJISAKA commented on MAPREDUCE-5800:
------------------------------------------

The patch looks unrelated to the warnings by findbugs, but we need to fix the warnings.

> Use Job#getInstance instead of deprecated constructors
> ------------------------------------------------------
>
>                 Key: MAPREDUCE-5800
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5800
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>    Affects Versions: 2.3.0
>            Reporter: Akira AJISAKA
>            Assignee: Akira AJISAKA
>            Priority: Minor
>              Labels: newbie
>         Attachments: MAPREDUCE-5800.2.patch, MAPREDUCE-5800.patch
>
>
> There're some methods calling deprecated constructors such as {{new Job()}}, which causes
javac warnings.
> We should use {{Job.getInstance()}} to get an instance.



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

Mime
View raw message