You have to specify classpath precedence. See here
11.12.2013 7:02 пользователь "Shawn Hermans" <[EMAIL PROTECTED]>
> I am having an issue with a Pig UDF I wrote. The Pig UDF uses a newer
> version of Guava than is bundled with the version of Hadoop I am using (CDH
> 4.2). I explicitly register the newer version using a REGISTER statement.
> However, it still loads the version bundled with CDH. How do I get Pig to
> recognize the and load the correct version of Guava?