Hadoop Common
  1. Hadoop Common
  2. HADOOP-1276

TaskTracker expiry interval is not configurable

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.13.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      all

      Description

      The tasktracker expiry interval is hardcoded to 10 mins with the MRConstants.TASKTRACKER_EXPIRY_INTERVAL constant.

      For small clusters, running small jobs, this interval is too high.

      Making it configurable it would require:

      • Introducing a 'tasktracker.expiry.interval' property with default value of 10 mins.
      • Load the property in the JobTracker
      • Change the 5 usages of the constant by a property in the JobTracker
      • Remove the constant from MRConstants
      • add default value to the hadoop-default.xml file

        Activity

        Show
        Hadoop QA added a comment - +1 http://issues.apache.org/jira/secure/attachment/12356754/HADOOP-1276_20070504_1.patch applied and successfully tested against trunk revision r534975. Test results: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/117/testReport/ Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/117/console
        Hide
        Arun C Murthy added a comment -

        Here is a straight-forward patch...

        Personally I find this feature quite useful, especially when dealing with issues relating to lost trackers... I'm not very sure about the original constraints which led to this being hard-coded and would acquiesce to the same.

        Show
        Arun C Murthy added a comment - Here is a straight-forward patch... Personally I find this feature quite useful, especially when dealing with issues relating to lost trackers... I'm not very sure about the original constraints which led to this being hard-coded and would acquiesce to the same.
        Hide
        Doug Cutting added a comment -

        I just committed this. Thanks, Arun!

        Show
        Doug Cutting added a comment - I just committed this. Thanks, Arun!
        Hide
        Hadoop QA added a comment -
        Show
        Hadoop QA added a comment - Integrated in Hadoop-Nightly #82 (See http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/82/ )

          People

          • Assignee:
            Arun C Murthy
            Reporter:
            Alejandro Abdelnur
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development