Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

What client jars do I need to import in project for simple hdfs directory operations like list, put remove? Hadoop v2

avatar

Found hadoop-core-1.0.3.jar is for v1 only, and haven't found which ones to use with v2. I got Sandbox, but could not fine the correct client jar to use. Could you please point it out?

1 ACCEPTED SOLUTION

avatar

Hi @Felix Albani,

If you are using Maven to handle your dependencies :

http://mvnrepository.com/artifact/org.apache.hadoop/hadoop-client

The last one:

<dependency>
    <groupId>org.apache.hadoop</groupId>
    <artifactId>hadoop-client</artifactId>
    <version>2.7.2</version>
</dependency>

Hope this helps.

View solution in original post

2 REPLIES 2

avatar

Hi @Felix Albani,

If you are using Maven to handle your dependencies :

http://mvnrepository.com/artifact/org.apache.hadoop/hadoop-client

The last one:

<dependency>
    <groupId>org.apache.hadoop</groupId>
    <artifactId>hadoop-client</artifactId>
    <version>2.7.2</version>
</dependency>

Hope this helps.

avatar

Thank you @Pierre Villard, I will try using maven instead of trying to resolve dependencies myself