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

Hadoop 2367- Does not respect JobConf.getProfileEnabled()

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: hudson
    • Fix Version/s: 0.16.0
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: