Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-2723

Hadoop 2367- Does not respect JobConf.getProfileEnabled()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • hudson
    • 0.16.0
    • None
    • None

    Description

      Looks like it should add a guard in TaskRunner.run()

      if (conf.getProfileEnabled()) {
      if (conf.getProfileTaskRange(t.isMapTask()
      ).isIncluded(t.getPartition()))

      { File prof = TaskLog.getTaskLogFile(taskid, TaskLog.LogName.PROFILE); vargs.add("-agentlib:hprof=cpu=samples,heap=sites,force=n,thread=y,"+ "verbose=n,file="+prof.toString()); }

      }

      Also, how come these conf values were not added to hadoop-default.xml?

      Attachments

        1. patch-2723.txt
          2 kB
          Amareshwari Sriramadasu

        Activity

          People

            amareshwari Amareshwari Sriramadasu
            clint.morgan Clint Morgan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: