Search code examples
javahadoopjarmapreduce

Jars for hadoop mapreduce


I am following this hadoop mapreduce tutorial given by Apache. The Java code given there uses these Apache-hadoop classes:

import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Job;
import org.apache.hadoop.mapreduce.Mapper;
import org.apache.hadoop.mapreduce.Reducer;
import org.apache.hadoop.mapreduce.lib.input.FileInputFormat;
import org.apache.hadoop.mapreduce.lib.output.FileOutputFormat;

But I could not understand where to download these Jars from. On searching internet for these classes I could see they are available here.

But what is the formal/authentic Apache repository for these and Jars?

If jars are shipped along with hadoop, please let me know the path.

EDIT : Other question does not give clear instructions. I found answer as follows

This tutorial mentions:

Download Hadoop-core-1.2.1.jar, which is used to compile and execute the MapReduce program. Visit the following link http://mvnrepository.com/artifact/org.apache.hadoop/hadoop-core/1.2.1 to download the jar.

So this looks authentic repository.


Solution

  • This tutorial mentions :

    Download Hadoop-core-1.2.1.jar, which is used to compile and execute the MapReduce program. Visit the following link http://mvnrepository.com/artifact/org.apache.hadoop/hadoop-core/1.2.1 to download the jar.

    So here you can find all the jars for different versions