How to build MongoDB connector for hadoop latest version (1.2.1) -
i'm trying build mongodb connector hadoop 1.2.1 montogdb instruction page (https://github.com/mongodb/mongo-hadoop) i'm getting following error. 1 thing mention, hadoop 1.2.1 not included in list of supported version. tried install 1.1 not included in hadoop download page or of mirrors, has ideal if possible build connector hadoop 1.2.1?
sbt.resolveexception: unresolved dependency: commons-logging#commons-logging;1.1.1: configuration not found in commons-logging#commons-logging;1.1.1: 'compile'. required commons-configuration#commons-configuration;1.6 compile @ sbt.ivyactions$.sbt$ivyactions$$resolve(ivyactions.scala:214) @ sbt.ivyactions$$anonfun$update$1.apply(ivyactions.scala:122) @ sbt.ivyactions$$anonfun$update$1.apply(ivyactions.scala:121) @ sbt.ivysbt$module$$anonfun$withmodule$1.apply(ivy.scala:114) @ sbt.ivysbt$module$$anonfun$withmodule$1.apply(ivy.scala:114) @ sbt.ivysbt$$anonfun$withivy$1.apply(ivy.scala:102) @ sbt.ivysbt.liftedtree1$1(ivy.scala:49) @ sbt.ivysbt.action$1(ivy.scala:49) @ sbt.ivysbt$$anon$3.call(ivy.scala:58) @ xsbt.boot.locks$globallock.withchannel$1(locks.scala:75) @ xsbt.boot.locks$globallock.withchannelretries$1(locks.scala:58) @ xsbt.boot.locks$globallock$$anonfun$withfilelock$1.apply(locks.scala:79) @ xsbt.boot.using$.withresource(using.scala:11) @ xsbt.boot.using$.apply(using.scala:10) @ xsbt.boot.locks$globallock.liftedtree1$1(locks.scala:51) @ xsbt.boot.locks$globallock.withlock(locks.scala:51) @ xsbt.boot.locks$.apply0(locks.scala:30) @ xsbt.boot.locks$.apply(locks.scala:27) @ sbt.ivysbt.withdefaultlogger(ivy.scala:58) @ sbt.ivysbt.withivy(ivy.scala:99) @ sbt.ivysbt.withivy(ivy.scala:95) @ sbt.ivysbt$module.withmodule(ivy.scala:114) @ sbt.ivyactions$.update(ivyactions.scala:121) @ sbt.classpaths$$anonfun$work$1$1.apply(defaults.scala:951) @ sbt.classpaths$$anonfun$work$1$1.apply(defaults.scala:949) @ sbt.classpaths$$anonfun$dowork$1$1$$anonfun$54.apply(defaults.scala:972) @ sbt.classpaths$$anonfun$dowork$1$1$$anonfun$54.apply(defaults.scala:970) @ sbt.tracked$$anonfun$lastoutput$1.apply(tracked.scala:35) @ sbt.classpaths$$anonfun$dowork$1$1.apply(defaults.scala:974) @ sbt.classpaths$$anonfun$dowork$1$1.apply(defaults.scala:969) @ sbt.tracked$$anonfun$inputchanged$1.apply(tracked.scala:45) @ sbt.classpaths$.cachedupdate(defaults.scala:977) @ sbt.classpaths$$anonfun$45.apply(defaults.scala:856) @ sbt.classpaths$$anonfun$45.apply(defaults.scala:853) @ sbt.scoped$$anonfun$hf10$1.apply(structure.scala:586) @ sbt.scoped$$anonfun$hf10$1.apply(structure.scala:586) @ scala.function1$$anonfun$compose$1.apply(function1.scala:49) @ sbt.scoped$reduced$$anonfun$combine$1$$anonfun$apply$12.apply(structure.scala:311) @ sbt.scoped$reduced$$anonfun$combine$1$$anonfun$apply$12.apply(structure.scala:311) @ sbt.$tilde$greater$$anonfun$$u2219$1.apply(typefunctions.scala:41) @ sbt.std.transform$$anon$5.work(system.scala:71) @ sbt.execute$$anonfun$submit$1$$anonfun$apply$1.apply(execute.scala:232) @ sbt.execute$$anonfun$submit$1$$anonfun$apply$1.apply(execute.scala:232) @ sbt.errorhandling$.wideconvert(errorhandling.scala:18) @ sbt.execute.work(execute.scala:238) @ sbt.execute$$anonfun$submit$1.apply(execute.scala:232) @ sbt.execute$$anonfun$submit$1.apply(execute.scala:232) @ sbt.concurrentrestrictions$$anon$4$$anonfun$1.apply(concurrentrestrictions.scala:160) @ sbt.completionservice$$anon$2.call(completionservice.scala:30) @ java.util.concurrent.futuretask$sync.innerrun(futuretask.java:303) @ java.util.concurrent.futuretask.run(futuretask.java:138) @ java.util.concurrent.executors$runnableadapter.call(executors.java:439) @ java.util.concurrent.futuretask$sync.innerrun(futuretask.java:303) @ java.util.concurrent.futuretask.run(futuretask.java:138) @ java.util.concurrent.threadpoolexecutor$worker.runtask(threadpoolexecutor.java:895) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:918) @ java.lang.thread.run(thread.java:680) [error] (mongo-hadoop-core/*:update) sbt.resolveexception: unresolved dependency: commons-logging#commons-logging;1.1.1: configuration not found in commons-logging#commons-logging;1.1.1: 'compile'. required commons-configuration#commons-configuration;1.6 compile [error] total time: 18 s, completed sep 3, 2013 8:04:37 pm
thanks much
you can find older hadoop releases on archive server. able mongodb hadoop connector working version 1.1.2.
http://archive.apache.org/dist/hadoop/core/ or there's archive link @ top of page on mirror.
Comments
Post a Comment