[ 
https://issues.apache.org/jira/browse/MAPREDUCE-1057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12768641#action_12768641
 ] 

Ravi Gummadi commented on MAPREDUCE-1057:
-----------------------------------------

I tried adding a test that runs child JVM that tries to log beyond the 
specified limit, but it is not working because the index file log.index is 
created before stdout and stderr are written to(by "tail -c <limit>" command). 
stdout and stderr are of correct size when I manually checked. But because the 
content of log.index file is wrong, logs are not useful. This new issue will be 
addressed in MAPREDUCE-1025.

> java tasks are not honouring the value of mapred.userlog.limit.kb
> -----------------------------------------------------------------
>
>                 Key: MAPREDUCE-1057
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1057
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: tasktracker
>    Affects Versions: 0.20.1, 0.21.0, 0.22.0
>            Reporter: Ravi Gummadi
>            Assignee: Ravi Gummadi
>             Fix For: 0.20.2
>
>         Attachments: MR-1057.patch, MR-1057.v1.patch
>
>
> Constructor of JvmEnv missed initializing logSize, which will be used as 
> tailLength when java command for the task is built.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to