Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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