Cheolsoo Park created PIG-2938:
----------------------------------

             Summary: All unit tests that use MR2 MiniCluster are broken in 
trunk
                 Key: PIG-2938
                 URL: https://issues.apache.org/jira/browse/PIG-2938
             Project: Pig
          Issue Type: Bug
          Components: build
            Reporter: Cheolsoo Park
            Assignee: Cheolsoo Park
            Priority: Critical


To reproduce the issue, run:
{code}
ant test -Dhadoopversion=23 -Dtestcase=TestAccumulator
{code}
This fails with the following error:
{code}
Caused by: java.lang.ClassNotFoundException: 
org.jboss.netty.channel.group.ChannelGroup
{code}

This is a regression from PIG-2844 where netty is commented out from ivy.xml.

I guess that the intention was to exclude netty from the generated pom file, 
but this breaks unit tests.

I propose that we change the ivy conf of netty from "compile-> master" to 
"test->master" instead of commenting it out. That would prevent netty from 
being pulled down at compile time by 3rd party projects that consume the pig 
pom file.

I am speculating here, so please correct me if I am wrong.

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

Reply via email to