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

MR-279: Fixup the exponentially smoothed runtime estimator, fix a couple of bugs in DataStatistics, and do a little bit of cleanup.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • mrv2
    • None
    • All

    Description

      A catch-all JIRA for a pass I took through the v2.app.speculate package.

      1) Fixed the ExponentiallySmoothedTaskRuntimeEstimator so that it can run and pass the test defined in TestRuntimeEstimators.
      2) Fixed two bugs in DataStatistics: 1) a divide by zero in the variance calculation in the case that count == 0 and 2) a synchronization issue in how the updateStatistics method was implemented,
      3) A bunch of typo corrections, formatting fixes, and adding some consistency around the null value checking.

      I probably need to do a couple more passes through this code to get it into better shape, but this seemed like a good start. Will attach my patch momentarily.

      Attachments

        1. MAPREDUCE-2639-1.patch
          7 kB
          Josh Wills
        2. MAPREDUCE-2639-2.patch
          4 kB
          Josh Wills
        3. MAPREDUCE-2639-3.patch
          12 kB
          Josh Wills

        Issue Links

          Activity

            People

              jwills Josh Wills
              jwills Josh Wills
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: