Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Phoenix on Amazon EMR

mujtabachohan edited this page Dec 3, 2013 · 8 revisions

This page is work in progress

Amazon Elastic Map Reduce Configuration (EMR)

  1. Download the latest CLI from http://aws.amazon.com/developertools/2264
  2. Setup your CLI http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-cli-install.html

Installation

You can either use CLI or Web Console to deploy HBase with Phoenix on EMR

Web Console

CLI

Deploy an Hbase Cluster with the Phoenix using CLI

./elastic-mapreduce --create --instance-type c1.xlarge --name 
PHOENIX_2.2_install --ami-version 3.0.1 --hbase --alive --bootstrap-action 
"s3://beta.elasticmapreduce/bootstrap-actions/phoenix/install-phoenix-bootstrap.sh"

Usage

SSH to the EMR Master and CD to /home/hadoop/hbase/lib/phoenix/bin

Create test data: ./performance localhost 1000000

SQL CLI: ./sqlline localhost

Clone this wiki locally