Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-500

Clean up the JobTracker code

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Incomplete
    • None
    • None
    • None
    • None

    Description

      My IDE flags a lot of trouble in the JobTracker code, but I dont want to mix those changes with any lifecycle changes. After doing that, then I'd like to clean up the code in JobTracker

      -move to generic types and foreach loops over Vector and iterators.
      -give all threads the correct type
      -stop using package scoped static variables to pass instance-data around specifically
      TASKTRACKER_EXPIRY_INTERVAL
      RETIRE_JOB_CHECK_INTERVAL
      RETIRE_JOB_INTERVAL
      -fix up all the javadoc warnings
      -remove the needless this. references on lots of local variables
      -replace the log + stringifyException with log(text,exception).

      Its only an hour or so of work, and would improve the code maintainability, but it would make merging existing code harder.

      Attachments

        Activity

          People

            Unassigned Unassigned
            stevel@apache.org Steve Loughran
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified