incubator-crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Wills (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CRUNCH-113) Move log4j hacking out of MRPipeline.enableDebug
Date Thu, 15 Nov 2012 01:56:12 GMT

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

Josh Wills commented on CRUNCH-113:
-----------------------------------

Both, I thought. But it seems like you would need to write a job that failed in order to see
the difference.
                
> Move log4j hacking out of MRPipeline.enableDebug
> ------------------------------------------------
>
>                 Key: CRUNCH-113
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-113
>             Project: Crunch
>          Issue Type: Improvement
>    Affects Versions: 0.3.0, 0.4.0
>            Reporter: Josh Wills
>            Assignee: Josh Wills
>             Fix For: 0.5.0
>
>         Attachments: CRUNCH-113.patch
>
>
> MRPipeline.enableDebug currently does some shenanigans with the log4j LogManager object
to override external log4j configuration. After a lengthy thread, we came to the consensus
that this was a bad idea, and so we're going to move the shenanigans out of MRPipeline and
into a static method in crunch-test where they won't be able to do as much harm.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message