Where is the source code for apache hadoop example

2019-03-31 06:09发布

问题:

Can anyone please direct me to the source code for Apache Hadoop Yarn examples. The 2.2.0 distribution comes with a jar names hadoop-mapreduce-examples-2.2.0.jar. I am trying to find the source code for the examples. Any pointer would be helpful...

Thanks,Amit

回答1:

Did you look at the source code in SVN? Here it is. http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/



回答2:

Mirror link on Github (for Git users)

https://github.com/apache/hadoop/tree/trunk/hadoop-mapreduce-project/hadoop-mapreduce-examples



回答3:

Here is the SVN link to get the source code to your local machine.

You can install svn with the below command in Linux.

sudo apt-get install subversion

svn checkout http://svn.apache.org/repos/asf/hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-examples