Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-6181

WordCount.java in mapreduce-examples.jar uses deprecated job object creation API

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      In the trunk branch the mapreduce-examples.jar contains a WordCount class. In which deprecated Job object has been used. So this Jira is to fix the deprecation warning.

      WordCount.java
      // Currently : Job job = new Job(conf, "word count");
      Job job = Job.getInstance(conf); 
      job.setJobName("word count");
      

      Attachments

        Issue Links

          Activity

            People

              arijitnit06 Arijit Chattopadhyay
              skgupta sachin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: