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

Binglin Chang commented on MAPREDUCE-5992:
------------------------------------------

Nativetask uses a FILE * LOG_DEVICE as log destination(default stderr), a 
simple hack is to open a pipe, make write side to LOG_DEVICE, and read side in 
a java thread log each line in async way, make sure java side can write all 
logs to the disk before exit

> native-task test logs should not write to console
> -------------------------------------------------
>
>                 Key: MAPREDUCE-5992
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5992
>             Project: Hadoop Map/Reduce
>          Issue Type: Sub-task
>          Components: task
>            Reporter: Todd Lipcon
>
> Most of our unit tests are configured with a log4j.properties test resource 
> so they don't spout a bunch of output to the console. We need to do the same 
> for native-task.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to