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

Deprecated Job constructor in hostdb/ReadHostDb.java

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.12
    • 1.13
    • build
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: