spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kal El <>
Subject Cannot get Hadoop dependencies
Date Mon, 27 Jan 2014 13:24:06 GMT
I am having some trouble with Hadoop. I cannot build my project with sbt.

According to the documentation, I added a line like this in my build.sbt file:
my line being:

libraryDependencies += "org.apache.hadoop" % "hadoop-client" % "0.20.2"

when I hit assembly under sbt I get the following error:

> assembly
[info] Updating {file:/home/spark2013/clusterWorkDirectory/GC/}gc...
[info] Resolving org.apache.hadoop#hadoop-client;0.20.2 ...
[warn]  module not found: org.apache.hadoop#hadoop-client;0.20.2
[warn] ==== local: tried
[warn]   /home/spark2013/.ivy2/local/org.apache.hadoop/hadoop-client/0.20.2/ivys/ivy.xml
[warn] ==== public: tried
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: org.apache.hadoop#hadoop-client;0.20.2: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[trace] Stack trace suppressed: run last *:update for the full output.
[error] (*:update) sbt.ResolveException: unresolved dependency: org.apache.hadoop#hadoop-client;0.20.2:
not found
[error] Total time: 4 s, completed Jan 27, 2014 3:21:28 PM

How can I fix this ?

View raw message