Where are hadoop jar files in hadoop 2? [closed]

2019-01-16 19:51发布

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.

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?

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

please help

8条回答
劳资没心,怎么记你
2楼-- · 2019-01-16 20:27

hadoop-core-{version}.jar became hadoop-common-{version}.jar starting with Hadoop 2+

查看更多
该账号已被封号
3楼-- · 2019-01-16 20:29

This works for me on Mac on Hadoop 2.6.0:

hadoop/2.6.0/libexec/share/hadoop/common/hadoop-common-2.6.0.jar

or just search ".jar" in the hadoop directory, you can see all the .jar files.

查看更多
登录 后发表回答