You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Devaraj K (JIRA)" <ji...@apache.org> on 2015/03/18 13:02:38 UTC
[jira] [Updated] (MAPREDUCE-6242) Progress report log is incredibly
excessive in application master
[ https://issues.apache.org/jira/browse/MAPREDUCE-6242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Devaraj K updated MAPREDUCE-6242:
---------------------------------
Target Version/s: 2.8.0 (was: 2.7.0)
Status: Open (was: Patch Available)
Thanks [~varun_saxena] for the patch.
Patch looks good to me except these minor comments.
1. There are some trailing whitespace in the newly added code. Can you try to avoid these whitespaces?
{code:xml}
<stdin>:9: trailing whitespace.
....
warning: squelched 9 whitespace errors
warning: 14 lines add whitespace error
{code}
2. In testTaskProgress(), can you avoid interrupting the thread which throws InterruptedException and use the reporter.resetDoneFlag() for notifying the thread.
{code:xml}
t.interrupt();
{code}
3. And also can you change the access specifier for these inner classes DummyTask, FakeUmbilical and DummyTaskReporter as private?
> Progress report log is incredibly excessive in application master
> -----------------------------------------------------------------
>
> Key: MAPREDUCE-6242
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-6242
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: applicationmaster
> Affects Versions: 2.4.0
> Reporter: Jian Fang
> Assignee: Varun Saxena
> Attachments: MAPREDUCE-6242.001.patch, MAPREDUCE-6242.002.patch
>
>
> We saw incredibly excessive logs in application master for a long running one with many task attempts. The log write rate is around 1MB/sec in some cases.
> Most of the log entries were from the progress report such as the following ones.
> 2015-02-03 17:46:14,321 INFO [IPC Server handler 56 on 37661] org.apache.hadoop.mapred.TaskAttemptListenerImpl: Progress of TaskAttempt attempt_1422985365246_0001_m_000000_0 is : 0.15605757
> 2015-02-03 17:46:17,581 INFO [IPC Server handler 2 on 37661] org.apache.hadoop.mapred.TaskAttemptListenerImpl: Progress of TaskAttempt attempt_1422985365246_0001_m_000000_0 is : 0.4108217
> 2015-02-03 17:46:20,426 INFO [IPC Server handler 0 on 37661] org.apache.hadoop.mapred.TaskAttemptListenerImpl: Progress of TaskAttempt attempt_1422985365246_0001_m_000002_0 is : 0.06634143
> 2015-02-03 17:46:20,807 INFO [IPC Server handler 4 on 37661] org.apache.hadoop.mapred.TaskAttemptListenerImpl: Progress of TaskAttempt attempt_1422985365246_0001_m_000000_0 is : 0.55556506
> 2015-02-03 17:46:21,013 INFO [IPC Server handler 6 on 37661] org.apache.hadoop.mapred.TaskAttemptListenerImpl: Progress of TaskAttempt attempt_1422985365246_0001_m_000001_0 is : 0.21723115
> Looks like the report interval is controlled by a hard-coded variable PROGRESS_INTERVAL as 3 seconds in class org.apache.hadoop.mapred.Task. We should allow users to set the appropriate progress interval for their applications.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)