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

查看:84
本文介绍了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 的所有文件夹,但找不到那些文件.这些相同的文件在 Hadoop 1.0 版本中可用,但在 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 CommonMapReduce Client Core jars 并同时使用它们.我相信它会解决你的问题.希望这会有所帮助!

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天全站免登陆