Amazon EMR
Amazon EMR Release Guide

Creating a Cluster with HBase

The procedures in this section cover the basics of launching a cluster using the AWS Management Console and the AWS CLI. For detailed information about how to plan, configure, and launch EMR clusters, see Plan and Configure Clusters in the Amazon EMR Management Guide.

Creating a Cluster with HBase Using the Console

For quick steps to launch clusters with the console, see Step 3: Launch an Amazon EMR Cluster in the Amazon EMR Management Guide.

To launch a cluster with HBase installed using the console

  1. Open the Amazon EMR console at

  2. Choose Create cluster and Go to advanced options.

  3. For Software Configuration, choose an Amazon Release Version of 4.6.0 or later (we recommend the latest version). Choose HBase and other applications as desired.

  4. With Amazon EMR version 5.2.0 and later, under HBase Storage Settings, select HDFS or S3. For more information, see HBase on Amazon S3.

  5. Select other options as necessary and then choose Create cluster.

Creating a Cluster with HBase Using the AWS CLI

Use the following command to create a cluster with HBase installed:

aws emr create-cluster --name "Test cluster" --release-label \ --applications Name=HBase --use-default-roles --ec2-attributes KeyName=myKey \ --instance-type m3.xlarge --instance-count 3


Linux line continuation characters (\) are included for readability. They can be removed or used in Linux commands. For Windows, remove them or replace with a caret (^).

If you use HBase on Amazon S3, specify the --configurations option with a reference to a JSON configuration object. The configuration object must contain an hbase-site classification that specifies the location in Amazon S3 where HBase data is stored using the hbase.rootdir property. It also must contain an hbase classification, which specifies s3 using the hbase.emr.storageMode property. The following example demonstrates a JSON snippet with these configuration settings.

{ "Classification": "hbase-site", "Properties": { "hbase.rootdir": "s3://MyBucket/MyHBaseStore",} }, { "Classification": "hbase", "Properties": { "hbase.emr.storageMode":"s3", } }

For more information about HBase on Amazon S3, see HBase on Amazon S3 (Amazon S3 Storage Mode). For more information about classifications, see Configuring Applications.