Hadoop的版本和Hadoop-common的版本之间有什么关系? [英] What is the relationship between Hadoop's version and Hadoop-common's version?

查看:1702
本文介绍了Hadoop的版本和Hadoop-common的版本之间有什么关系?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 Maven 构建 Hadoop 项目,并在 http://search.maven.org/
$ b Hadoop-common 的结果仅包含版本 0.2x 2.x ,那么版本1.x 如何?

以下是搜索链接

看来, Hadoop's版本不符合其 Hadoop-common版本

顺便说一句, Hadoop-common,Hadoop-core和Hadoop-client之间的差异?



那么如果我选择 Hadoop 1.2.1 ,我应该为 .pom 文件中的maven decencies编写哪个版本? (或者,是否必须编写 Hadoop-Common Hadoop-Client 的特定版本?)



希望详细解释。

如果您使用的是Hadoop版本1.x(Hadoop旧API),那么您应该使用在你的Maven项目中相应的依赖关系。即版本为1.x的工件。它在Maven中央存储库中可用。
如果您有解决方案,请接受我的答案。


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.

解决方案

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.

这篇关于Hadoop的版本和Hadoop-common的版本之间有什么关系?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆