hadoop 2中的hadoop jar文件在哪里? [英] Where are hadoop jar files in hadoop 2?

查看:401
本文介绍了hadoop 2中的hadoop jar文件在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Hadoop实现一个示例字计数程序。我已下载并安装了 Hadoop 2.0.0 。我想使用Eclipse做这个示例程序,因为我以后在我的实际项目中想到我只需要使用Eclipse。

I am trying to implement one sample word count program using Hadoop. I have downloaded and installed Hadoop 2.0.0. I want to do this sample program using Eclipse because i think later in my real project I have to use Eclipse only.

我无法找到Hadoop相关的jar文件,如 hadoop-core.jar 和其他必需的jar文件。我在2.0的所有文件夹中搜索hadoop但找不到这些文件。这些相同的文件在1.0版本的Hadoop中可用,但不在2.0版本中。我想知道我可以在哪里获取这些文件?

I am not able to find Hadoop related jar files like hadoop-core.jar and other required jar files. I searched in all the folders of 2.0 hadoop but couldn't find those files. Those same files are available in 1.0 version of Hadoop but not in 2.0 version. I would like to know where can I get these files?

我无法找到有关2.0版本的许多信息。

I am not able to find much information about 2.0 version.

请帮助

推荐答案

其实我刚开始面临类似的问题。显然,版本2没有 hadoop-core.jar 。你必须下载Hadoop Common MapReduce Client Core ,并使用它们。我相信会解决你的问题。希望这有帮助!

Actually, I faced a similar issue in the beginning. Apparently, there is no hadoop-core.jar for version 2. You'll have to download the Hadoop Common and MapReduce Client Core jars and use them both. I am sure it'll solve your problems. Hope this helps!

编辑:我刚刚更新了链接,以便人们可以从存储库中选择适当的版本,因为我们现在已经过去了初始版本2。

I just updated the links such that people can choose the appropriate version from the repository since we now come way past the initial version 2.

这篇关于hadoop 2中的hadoop jar文件在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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