Amazon Elastic MapReduce
Developer Guide (API Version 2009-03-31)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Go to the Kindle Store to download this guide in Kindle format.Did this page help you?  Yes | No |  Tell us about it...

Supported Hadoop Versions

Amazon Elastic MapReduce (Amazon EMR) allows you to choose which version of Hadoop to run. You do this using the CLI and setting the --ami-version as shown in the following table. We recommend using the latest version of Hadoop to take advantage of performance enhancements and new functionality.


The AMI version determines the Hadoop version and the --hadoop-version parameter is no longer supported.

Hadoop VersionConfiguration Parameters
2.2.0 --ami-version 3.0.1
1.0.3 --ami-version 2.4.2
0.20.205 --ami-version 2.1.4
0.20 --ami-version 1.0

For details about the default configuration and software available on AMIs used by Amazon Elastic MapReduce (Amazon EMR) see Choose a Machine Image .


The Asia Pacific (Sydney) Region and AWS GovCloud (US) support only Hadoop 1.0.3 and later. AWS GovCloud (US) additionally requires AMI 2.3.0 and later.

To specify the Hadoop version when creating a cluster with the CLI

  • Add the --ami-version option and specify the version number. The AMI version determines the version of Hadoop for Amazon EMR to use. The following example creates a waiting cluster running Hadoop 2.2.0. Amazon EMR then launches the appropriate AMI for that version of Hadoop. For details about the version of Hadoop available on an AMI, see AMI Versions Supported in Amazon EMR.

    In the directory where you installed the Amazon EMR CLI, run the following from the command line. For more information, see the Command Line Interface Reference for Amazon EMR.

    • Linux, UNIX, and Mac OS X users:

      ./elastic-mapreduce --create --alive --name "Test Hadoop" \
      --ami-version 3.0.1 \
      --num-instances 5 --instance-type m1.large  
    • Windows users:

      ruby elastic-mapreduce --create --alive --name "Test Hadoop" --ami-version 3.0.1 --num-instances 5 --instance-type m1.large