You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Yufei Gu (JIRA)" <ji...@apache.org> on 2017/03/07 19:13:38 UTC

[jira] [Created] (MAPREDUCE-6858) HistoryFileManager thrashing due to high volume jobs

Yufei Gu created MAPREDUCE-6858:
-----------------------------------

             Summary: HistoryFileManager thrashing due to high volume jobs 
                 Key: MAPREDUCE-6858
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6858
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: jobhistoryserver
            Reporter: Yufei Gu


- JHS scans "done_intermediate" dir for files to process and adds them to a thread pool
- Thread pool starts processing these files to move them to "done" dir
JHS scans "done_intermediate" again for files to process and adds them to a thread pool
-- If we have enough jobs where the thread pool can't keep up with the scanning interval, they'll get added twice (or more). If this keeps compounding, I wouldn't be surprised if jobs end up piling up and not getting processed for quite some time and getting lots of FileNotFoundException's.

By default, it looks like the thread pool only has 3 threads in it (mapreduce.jobhistory.move.thread-count). And the scan interval is 3 minutes (mapreduce.jobhistory.move.interval-ms). Perhaps we should increase these?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-dev-help@hadoop.apache.org