Creating an Amazon EMR job flow using the AWS Command Line Interface
AWS Command Line Interface (CLI) is a tool that allows us to manage our AWS services from the command line. In this recipe, we use AWS CLI to manage Amazon EMR services.
This recipe creates an EMR job flow using the AWS CLI to execute the WordCount sample from the Running Hadoop MapReduce computations using Amazon Elastic MapReduce recipe of this chapter.
Getting ready
The following are the prerequisites to get started with this recipe:
- Python 2.6.3 or higher
- pip—Python package management system
How to do it...
The following steps show you how to create an EMR job flow using the EMR command-line interface:
- Install AWS CLI in your machine using the pip installer:
$ sudo pip install awscli ...
Get Hadoop MapReduce v2 Cookbook - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.