You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@fluo.apache.org by GitBox <gi...@apache.org> on 2018/11/18 00:56:24 UTC

[GitHub] keith-turner commented on issue #3: Update to Fluo 1.2, Accumulo 2.0, and Hadoop 3.0

keith-turner commented on issue #3: Update to Fluo 1.2, Accumulo 2.0, and Hadoop 3.0
URL: https://github.com/apache/fluo-examples/pull/3#issuecomment-439659100
 
 
   I learned something while working on this.  Accumulo 2.0 is using a much newer version of Gauva and therefore Accumulo code is using newer Guava methods.  When I first started trying to run map reduce code Accumulo code was failing because Guava methods could not be found!!!  Hadoop was putting Guava 11 on the classpath.  I learned about the Hadoop settings `HADOOP_USE_CLIENT_CLASSLOADER` and `mapreduce.job.classloader` which run your code in a classloader with only hadoop code coming from the parent classloader.  Since I had shaded a newer version of guava into the stresso jar everything worked after using these settings.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services