bootstrapping - Error in copying jars to /home/hadoop/lib emr -
i copying external jars /home/hadoop/lib
directoy in emr
bootstrap
process. showing following error during bootstrap process
exception in thread "main" java.lang.incompatibleclasschangeerror: class com.google.common.cache.cachebuilder$3 has interface com.google.common.base.ticker super class @ java.lang.classloader.defineclass1(native method) @ java.lang.classloader.defineclass(classloader.java:792) @ java.security.secureclassloader.defineclass(secureclassloader.java:142) @ java.net.urlclassloader.defineclass(urlclassloader.java:449) @ java.net.urlclassloader.access$100(urlclassloader.java:71) @ java.net.urlclassloader$1.run(urlclassloader.java:361) @ java.net.urlclassloader$1.run(urlclassloader.java:355) @ java.security.accesscontroller.doprivileged(native method) @ java.net.urlclassloader.findclass(urlclassloader.java:354) @ java.lang.classloader.loadclass(classloader.java:424) @ sun.misc.launcher$appclassloader.loadclass(launcher.java:308) @ java.lang.classloader.loadclass(classloader.java:357) @ com.google.common.cache.cachebuilder.<clinit>(cachebuilder.java:207) @ org.apache.hadoop.security.shellbasedunixgroupsmapping.<clinit>(shellbasedunixgroupsmapping.java:46) @ java.lang.class.forname0(native method) @ java.lang.class.forname(class.java:270) @ org.apache.hadoop.conf.configuration.getclassbyname(configuration.java:861) @ org.apache.hadoop.conf.configuration.getclass(configuration.java:906) @ org.apache.hadoop.conf.configuration.getclass(configuration.java:932) @ org.apache.hadoop.security.groups.<init>(groups.java:48) @ org.apache.hadoop.security.groups.getusertogroupsmappingservice(groups.java:140) @ org.apache.hadoop.security.usergroupinformation.initialize(usergroupinformation.java:205) @ org.apache.hadoop.security.usergroupinformation.ensureinitialized(usergroupinformation.java:184) @ org.apache.hadoop.security.usergroupinformation.issecurityenabled(usergroupinformation.java:236) @ org.apache.hadoop.security.usergroupinformation.getloginuser(usergroupinformation.java:477) @ org.apache.hadoop.security.usergroupinformation.getcurrentuser(usergroupinformation.java:463) @ org.apache.hadoop.fs.filesystem$cache$key.<init>(filesystem.java:1521) @ org.apache.hadoop.fs.filesystem$cache.get(filesystem.java:1422) @ org.apache.hadoop.fs.filesystem.get(filesystem.java:256) @ com.amazon.elasticmapreduce.scriptrunner.scriptrunner.fetchfile(scriptrunner.java:39) @ com.amazon.elasticmapreduce.scriptrunner.scriptrunner.main(scriptrunner.java:56) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:606) @ org.apache.hadoop.util.runjar.main(runjar.java:187)
can me why happening?
i found answer. problem mahout 0.7 using older version of guava. replaced mahout 0.7 0.8 , worked.
Comments
Post a Comment