1

I am using Maven to build a Hadoop project, and searching the dependencies in http://search.maven.org/.

The results of Hadoop-common only include version 0.2x and 2.x, and what about the version 1.x?

Here is the search link.

It seems that Hadoop's version is not corresponding with its Hadoop-common's version.

By the way, Differences between Hadoop-common, Hadoop-core and Hadoop-client?

Then if I choose Hadoop 1.2.1, which version should I write for the maven decencies in the .pom file ? (Or, Is it must to write a specific version of Hadoop-Common and Hadoop-Client ?)

Hope for an explanation in detail.

Community
  • 1
  • 1
chenzhongpu
  • 6,193
  • 8
  • 41
  • 79

1 Answers1

0

If you are using Hadoop version 1.x(Hadoop old API) then you should use corresponding dependencies in your maven project. ie, artifacts with version 1.x. It is available in the Maven central repository. Accept my answer if you have the solution.

Sachin
  • 1,675
  • 2
  • 19
  • 42