Hi Jae, Have you tried
export SPARK_SUBMIT_OPTIONS="--packages com.google.guava:guava:18.0" .... described in http://zeppelin.incubator.apache.org/docs/0.6.0-incubating-SNAPSHOT/interpreter/spark.html ? Or if you're using master, http://zeppelin.incubator.apache.org/docs/0.6.0-incubating-SNAPSHOT/manual/dependencymanagement.html ? Library loading mechanism used in above two ways and %dep are different. And they handles some library loading better than %dep. Hope this helps, Thanks, moon On Mon, Mar 7, 2016 at 12:05 PM Bae, Jae Hyeon <[email protected]> wrote: > Hi Zeppelin users > > I want to use BloomFilter implementation in guava 18.0 and I tried to load > its dependency through the following codes > > %dep > z.reset() > z.load("com.google.guava:guava:18.0") > z.load("joda-time:joda-time:2.1") > z.load("org.elasticsearch:elasticsearch-hadoop:2.1.0") > z.load("com.amazonaws:aws-java-sdk:1.7.4") > z.load("org.apache.hadoop:hadoop-aws:2.7.1") > > but I got the following error because com.google.common.hash.BloomFilter > is overiden by hive-exec pulled from spark-hive dependency. > > <console>:67: error: value readFrom is not a member of object > com.google.common.hash.BloomFilter > BloomFilter.readFrom(new FileInputStream(new > File(SparkFiles.get("uuid.bloom"))), new UuidFunnel) > > Do you have any idea how to fix this problem? > > Thank you > Best, Jae >
