You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@datafu.apache.org by Neil Best <NB...@gogoair.com> on 2015/01/06 19:19:40 UTC

problem resolving class version numbers

After cloning from master and applying the patch from DATAFU-78 I was able to build a JAR but when I submit a Pig statement Grunt complains:

ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1069: Problem resolving class version numbers for class datafu.pig.util.Coalesce

http://stackoverflow.com/questions/13346867/writing-a-udf-in-pig-kind-of-like-tutorial seems to be somewhat relevant and led me to inspect the  META-INF/MANIFEST.MF file inside the JAR but it has no Created-By attribute.  Would this cause the error?  Can anyone suggest a solution?

My motivation is to enjoy the bugfix provided by the resolution of DATAFU-42.  I am currently running 1.1.0+cdh5.2.0 from the Cloudera respository on Ubuntu 12.04.

Thanks for any guidance.



Re: problem resolving class version numbers

Posted by Matthew Hayes <ma...@gmail.com>.
I just pushed the fix for DATAFU-78 to master, so you shouldn't need to
apply the patch now.  Regarding the other problem, can you share what
version of Java and Pig you are using?  Also can you share a basic Pig
script and command line you are using to reproduce this?

-Matt

On Tue, Jan 6, 2015 at 10:19 AM, Neil Best <NB...@gogoair.com> wrote:

> After cloning from master and applying the patch from DATAFU-78 I was able
> to build a JAR but when I submit a Pig statement Grunt complains:
>
> ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1069: Problem resolving
> class version numbers for class datafu.pig.util.Coalesce
>
>
> http://stackoverflow.com/questions/13346867/writing-a-udf-in-pig-kind-of-like-tutorial
> seems to be somewhat relevant and led me to inspect the
> META-INF/MANIFEST.MF file inside the JAR but it has no Created-By
> attribute.  Would this cause the error?  Can anyone suggest a solution?
>
> My motivation is to enjoy the bugfix provided by the resolution of
> DATAFU-42.  I am currently running 1.1.0+cdh5.2.0 from the Cloudera
> respository on Ubuntu 12.04.
>
> Thanks for any guidance.
>
>
>