Johannes Schwenk created PIG-2833: ------------------------------------- Summary: 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
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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira