Uploaded image for project: 'Nutch'
  1. Nutch
  2. NUTCH-2366

Deprecated Job constructor in hostdb/ReadHostDb.java

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.12
    • Fix Version/s: 1.13
    • Component/s: build
    • Labels:
      None

      Description

      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

        Attachments

        1. NUTCH-2366.patch
          0.8 kB
          Omkar Reddy

          Activity

            People

            • Assignee:
              markus17 Markus Jelsma
              Reporter:
              omkar20895 Omkar Reddy
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: