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

        Alejandro Abdelnur created issue -
        Alejandro Abdelnur made changes -
        Field Original Value New Value
        Priority Minor [ 4 ] Major [ 3 ]
        Arun C Murthy made changes -
        Assignee Arun C Murthy [ acmurthy ]
        Arun C Murthy made changes -
        Attachment HADOOP-1276_20070504_1.patch [ 12356754 ]
        Arun C Murthy made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Arun C Murthy made changes -
        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 to acquiesce to the same. ]
        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!
        Doug Cutting made changes -
        Resolution Fixed [ 1 ]
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        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/ )
        Doug Cutting made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Owen O'Malley made changes -
        Component/s mapred [ 12310690 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        14d 2h 45m 1 Arun C Murthy 04/May/07 09:24
        Patch Available Patch Available Resolved Resolved
        3d 11h 50m 1 Doug Cutting 07/May/07 21:15
        Resolved Resolved Closed Closed
        32d 25m 1 Doug Cutting 08/Jun/07 21:40

          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