java - Join in mapreduce -
i working on map reduce join problem using joiner , splitter functions. have searched lot on google , finds adding guava-18.0.jar file in referenced libraries of project. attached javadoc location jar file still getting error mentioned below:
error: java.lang.classnotfoundexception: com.google.common.base.splitter @ java.security.accesscontroller.doprivileged(native method) @ java.net.urlclassloader.findclass(urlclassloader.java:354) @ java.lang.classloader.loadclass(classloader.java:425) @ sun.misc.launcher$appclassloader.loadclass(launcher.java:308) @ java.lang.classloader.loadclass(classloader.java:358) @ edu.cs.okstate.cs.partitioning.partition_mapper.setup(partition_mapper.java:29) @ org.apache.hadoop.mapreduce.mapper.run(mapper.java:142) @ org.apache.hadoop.mapred.maptask.runnewmapper(maptask.java:764) @ org.apache.hadoop.mapred.maptask.run(maptask.java:364) @ org.apache.hadoop.mapred.child$4.run(child.java:255) @ java.security.accesscontroller.doprivileged(native method) @ javax.security.auth.subject.doas(subject.java:415) @ org.apache.hadoop.security.usergroupinformation.doas(usergroupinformation.java:1190) @ org.apache.hadoop.mapred.child.main(child.java:249)
i'm guessing you're using ide manage project , not dependency management tool (maven, gradle, ant+ivy...), , guava jar doesn't end in classpath of hadoop job.
make sure gets bundled what's deployed.
Comments
Post a Comment