[jira] [Commented] (NUTCH-2366) Deprecated Job constructor in hostdb/ReadHostDb.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (NUTCH-2366) Deprecated Job constructor in hostdb/ReadHostDb.java

JIRA jira@apache.org

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

Hudson commented on NUTCH-2366:
-------------------------------

SUCCESS: Integrated in Jenkins build Nutch-trunk #3413 (See [https://builds.apache.org/job/Nutch-trunk/3413/])
NUTCH-2366 Deprecated Job constructor in hostdb/ReadHostDb.java\ (markus: [https://github.com/apache/nutch/commit/3926910e145df083ec9d42cd397c0cbd9b3a16da])
* (edit) src/java/org/apache/nutch/hostdb/ReadHostDb.java


> Deprecated Job constructor in hostdb/ReadHostDb.java
> ----------------------------------------------------
>
>                 Key: NUTCH-2366
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2366
>             Project: Nutch
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.12
>            Reporter: Omkar Reddy
>            Assignee: Markus Jelsma
>            Priority: Minor
>             Fix For: 1.13
>
>         Attachments: NUTCH-2366.patch
>
>
> When we try to build ant using nutch we get the following warning :
> warning: [deprecation] Job(Configuration,String) in Job has been deprecated
>                [javac]     Job job = new Job(conf, "ReadHostDb");
> This is because the constructor Job(Configuration conf, String jobName) has been deprecated and the reference can be found at [0].
> [0] http://hadoop.apache.org/docs/stable2/api/org/apache/hadoop/mapreduce/Job.html#getInstance%28org.apache.hadoop.conf.Configuration%29



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)