Member since
12-23-2013
6
Posts
0
Kudos Received
0
Solutions
12-23-2013
12:10 PM
Hi , I am facing one issue on downloading hadoop jar files through pom.xml ,Need a little help from you . Below is the changes I made in pom.xml for adding hadoop jar files <!-- Adding for Hadoop repositories --> <repositories> <repository> <id>maven-hadoop</id> <name>Hadoop Releases</name> <url>https://repository.cloudera.com/content/repositories/releases/</url> </repository> <repository> <id>cloudera-repos</id> <name>Cloudera Repos</name> <url>https://repository.cloudera.com/artifactory/cloudera-repos/</url> </repository> <!-- Ended here --> </repositories> Under Dependencies, I added the below <dependencies> <dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-client</artifactId> <version>2.0.0-cdh4.3.0</version> </dependency> </dependencies> But still giving error in pom.xml as below Missing artifact org.apache.hadoop:hadoop-client:jar:2.0.0-cdh4.3.0 Also tried with below dependency with SNAPSHOT <dependencies> <dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-client</artifactId> <version>2.0.0-cdh4.3.0-SNAPSHOT</version> </dependency> </dependencies> I could see that the both artifacts are available in cloudera repository https://repository.cloudera.com/artifactory/libs-snapshot-local/org/apache/hadoop/hadoop-client/2.0.0-mr1-cdh4.3.0-SNAPSHOT/ Can you please throw some idea on what to do to get out of this error, so that my pom.xml will compile and download jar files. I referred to below example as reference for configure my hadoop in pom.xml http://blog.cloudera.com/blog/2012/12/how-to-run-a-mapreduce-job-in-cdh4/ Thanks Rajasekhar
... View more
Labels:
- Labels:
-
Apache Hadoop
-
MapReduce