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

speculative execution should not have default value on hadoop-default.xml bundled in the Hadoop JAR

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 0.16.2
    • None
    • conf
    • None
    • all

    Description

      Having a default value for speculative execution in the hadoop-default.xml bundled in the Hadoop JAR file does not allow a cluster to control the default behavior.

      ON in hadoop-default.xml (current behavior)

      • ON in JT hadoop-site.xml
      • present in job.xml, job's value is used
      • not-present in job.xml, ON is taken as default from the hadoop-default.xml present in the client's JAR/conf
      • ON FINAL in the JT hadoop-site.xml
      • present or not present in the job.xml, ON is used
      • OFF in JT hadoop-site.xml
      • present in job.xml, job's value is used
      • not-present in job.xml, ON is taken as default from the hadoop-default.xml present in the client's JAR/conf
      • OF FINAL in the JT hadoop-site.xml
      • present or not present in the job.xml, OFF is used

      OFF in hadoop-default.xml (not current behavior)

      • ON in JT hadoop-site.xml
      • present in job.xml, job's value is used
      • not-present in job.xml, OFF is taken as default from the hadoop-default.xml present in the client's JAR/conf
      • ON FINAL in the JT hadoop-site.xml
      • present or not present in the job.xml, ON is used
      • OFF in JT hadoop-site.xml
      • present in job.xml, job's value is used
      • not-present in job.xml, ON is taken as default from the hadoop-default.xml present in the client's JAR/conf
      • OF FINAL in the JT hadoop-site.xml
      • present or not present in the job.xml, OFF is used

      Still is desirable for the JT to have a default value. To avoid having to support 2 hadoop-default.xml files, one for the JT and other for the clients, the easiest why is to remove it from the hadoop-default.xml and have the default value in the code when getting the config property (thing that may be already happening).

      Attachments

        1. HADOOP-3171_20080410.patch
          1 kB
          Arun Murthy

        Activity

          People

            acmurthy Arun Murthy
            tucu00 Alejandro Abdelnur
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: