Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-2938

All unit tests that use MR2 MiniCluster are broken in trunk

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 0.11
    • build
    • None

    Description

      To reproduce the issue, run:

      ant test -Dhadoopversion=23 -Dtestcase=TestAccumulator
      

      This fails with the following error:

      Caused by: java.lang.ClassNotFoundException: org.jboss.netty.channel.group.ChannelGroup
      

      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.

      Attachments

        1. PIG-2938.patch
          0.8 kB
          Cheolsoo Park

        Issue Links

          Activity

            People

              cheolsoo Cheolsoo Park
              cheolsoo Cheolsoo Park
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: