pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Coveney (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PIG-2833) org.apache.pig.pigunit.pig.PigServer does not initialize set default log level of pigContext
Date Fri, 21 Sep 2012 21:36:08 GMT

     [ https://issues.apache.org/jira/browse/PIG-2833?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jonathan Coveney updated PIG-2833:
----------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)
    
> org.apache.pig.pigunit.pig.PigServer does not initialize set default log level of pigContext
> --------------------------------------------------------------------------------------------
>
>                 Key: PIG-2833
>                 URL: https://issues.apache.org/jira/browse/PIG-2833
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.10.0
>         Environment: pig-0.10.0, Hadoop 2.0.0-cdh4.0.1 on Kubuntu 12.04 64Bit.
>            Reporter: Johannes Schwenk
>            Assignee: Cheolsoo Park
>         Attachments: PIG-2833.patch
>
>
> The class org.apache.pig.pigunit.pig.PigServer does not set the default log level of
its instance of PigContext so that pigunit tests that have 
> {code}
> set debug off;
> {code}
> in them, will cause a NullPointerException at org.apache.pig.PigServer line 291 because
the default log level is not set.
> So I think org.apache.pig.pigunit.pig.PigServer should do something like 
> {code}
> pigContext.setDefaultLogLevel(Level.INFO);
> {code}
> in its contructors.

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