You have to specify classpath precedence. See here http://stackoverflow.com/questions/11685949/overriding-default-hadoop-jars-in-class-path 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? > > Thanks, > Shawn >
