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

YarnChild unnecessarily loads job conf twice

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.0-beta
    • 2.3.0
    • task
    • Reviewed

    Description

      In MR task processes, a JobConf is instantiated with the same job.xml twice, once at the beginning of main() and once in configureTask. IIUC, the second instantiation is not necessary. These take time reading from disk and parsing XML.

      Removing the second instantiation shaved a second off the average map task time in a 1,000-map sleep job.

      Attachments

        1. MAPREDUCE-5484.patch
          3 kB
          Sandy Ryza
        2. MAPREDUCE-5484-1.patch
          3 kB
          Sandy Ryza

        Activity

          People

            sandyr Sandy Ryza
            sandyr Sandy Ryza
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: