You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by Connor Taffe <co...@liveramp.com> on 2020/03/19 05:06:13 UTC

Next Pig Release?

Hi,

Has anyone seen this Pig error before? It's a broken import in Pig which
was patched in trunk
<https://github.com/apache/pig/blob/bdd9908231024d9a78c93821341afdf93c6ad583/CHANGES.txt#L93>
but
since Pig hasn't released since 2017—hasn't made it to maven. Trying to
test a Pig script using PigUnit

java.lang.NoClassDefFoundError: org/python/google/common/collect/Lists
    at
org.apache.pig.tools.pigstats.mapreduce.MRJobStats.getTaskReports(MRJobStats.java:533)

The issue was patched back in 2017 in this commit
<https://github.com/apache/pig/commit/6dd3ca4deb84edd9edd7765aa1d12f89a31b1283#diff-bb3c4deeba77c2bbfd893f2e90fecc77>,
in reference to this ticket
<https://issues.apache.org/jira/browse/PIG-5269> which
had “Major” priority.

I’d love to see Pig be released so that these (ancient) fixes can finally
make it into the wild.

Thanks

--
Connor Taffe
Software Engineer at LiveRamp

Re: Next Pig Release?

Posted by Connor Taffe <co...@liveramp.com>.
For now I can workaround this by depending on Jython, which provide the
org.python.google.common.collect.Lists re-export.

On Thu, Mar 19, 2020 at 12:06 AM Connor Taffe <co...@liveramp.com>
wrote:

> Hi,
>
> Has anyone seen this Pig error before? It's a broken import in Pig which
> was patched in trunk
> <https://github.com/apache/pig/blob/bdd9908231024d9a78c93821341afdf93c6ad583/CHANGES.txt#L93> but
> since Pig hasn't released since 2017—hasn't made it to maven. Trying to
> test a Pig script using PigUnit
>
> java.lang.NoClassDefFoundError: org/python/google/common/collect/Lists
>     at
> org.apache.pig.tools.pigstats.mapreduce.MRJobStats.getTaskReports(MRJobStats.java:533)
>
> The issue was patched back in 2017 in this commit
> <https://github.com/apache/pig/commit/6dd3ca4deb84edd9edd7765aa1d12f89a31b1283#diff-bb3c4deeba77c2bbfd893f2e90fecc77>,
> in reference to this ticket
> <https://issues.apache.org/jira/browse/PIG-5269> which had “Major”
> priority.
>
> I’d love to see Pig be released so that these (ancient) fixes can finally
> make it into the wild.
>
> Thanks
>
> --
> Connor Taffe
> Software Engineer at LiveRamp
>


-- 

Connor Taffe | Software Engineer | Live*Ramp*

www.liveramp.com | connor.taffe@liveramp.com