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

MultithreadedMapper doesn't update completion percentage before mapper is finished

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.20.2
    • None
    • None
    • None

    Description

      MultithreadedMapper runs multiple threads in one mapper, but it doesn't update the completion percentage before all the threads are completed.

      If is better to update the completion percentage when threads are running to reflect real progress.

      The code is like this:
      runners = new ArrayList(numberOfThreads);
      for(int i = 0; i < numberOfThreads; i++)

      { MapRunner thread = new MapRunner(context); thread.start(); runners.add(i, thread); }

      for(int i = 0; i < numberOfThreads; i++)

      { MapRunner thread = (MapRunner)runners.get(i); thread.join(); // wait ... }

      Attachments

        Activity

          People

            Unassigned Unassigned
            forest520 Forest Tan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: