hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Zhong (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-5992) native-task test logs should not write to console
Date Mon, 11 Aug 2014 03:13:11 GMT

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

Sean Zhong commented on MAPREDUCE-5992:
---------------------------------------

It is tricky to redirect native console to java logger using JNI. Another option would be
using lo4cpp, but it requires additional dependance and also a new config file log4cpp.properties,
so also not clean.

Maybe we should leave it as is?

> 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)

Mime
View raw message