Menu
Amazon EMR
Amazon EMR Release Guide

Create a Cluster with Hue Installed

To launch a cluster with Hue installed using the console

  1. Choose Go to Advanced Options.

  2. Navigate to Software Configuration and choose Amazon for Hadoop distribution and 4.1.0 or later for the Release label.

  3. In Software Configuration > Applications to be installed, Hue should appear in the list by default.

  4. In the Hardware Configuration section, accept the default EC2 instance types: m3.xlarge for instance types. You can change the instance types to suit your needs. If you will have more than 20 concurrent users accessing Hue, we recommend an instance type of m3.2xlarge or greater for the master node. We also recommend that you have a minimum of two core nodes for clusters running Hue.

  5. In Security and Access, select a key pair for connecting to your cluster. You will need to use a key pair to open an SSH tunnel to connect to the Hue Web interface on the master node.

  6. Click Create cluster.

To launch a cluster with Hue installed using the AWS CLI

To launch a cluster with Hue installed using the AWS CLI, type the create-cluster subcommand with the --applications parameter.

Note

You will need to install the current version of the AWS CLI. To download the latest release, see https://aws.amazon.com//cli/.

  1. If you have not previously created the default EMR role and EC2 instance profile, type the following command to create them. Alternatively, you can specify your own roles. For more information on using your own roles, see http://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-iam-roles.html.

    Copy
    aws emr create-default-roles
  2. To launch an Amazon EMR cluster with Hue installed using the default roles, type the following command and replace myKey with the name of your EC2 key pair.

    Copy
    aws emr create-cluster --name "Hue cluster" --release-label emr-5.6.0 \ --applications Name=Hue Name=Hive Name=Pig --use-default-roles --ec2-attributes KeyName=myKey --instance-type m3.xlarge --instance-count 3

    Note

    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 (^).

    Note

    When you specify the instance count without using the --instance-groups parameter, a single Master node is launched, and the remaining instances are launched as core nodes. All nodes will use the instance type specified in the command.

    For more information on using Amazon EMR commands in the AWS CLI, see http://docs.aws.amazon.com/cli/latest/reference/emr.