ExitAmazon EMR: storage for processing workloads1 / 9
Explanation

Separate persistent data from working storage

How EMR jobs read batch data using S3 and HDFS, and how storage configuration affects access, durability, cost, and performance. · associate

For this lesson, consider Amazon EMR on EC2. A batch job can read objects directly from Amazon S3 through its framework's S3 connector. It does not have to copy the entire input into HDFS first.

HDFS, the Hadoop Distributed File System, stores files across cluster nodes. It is useful for temporary working data, but its lifetime is tied to the cluster. S3 stores data independently of the cluster, making it suitable for reusable input and retained results.

The diagram shows one deliberate choice: read input from S3, write a working dataset to HDFS for repeated reads, and save final results to S3. The arrows show data movement, not permission checks.

EMR on EC2 cluster
Input recordsWorking dataRepeated readsFinal results
Amazon S3 bucketS3: batch input
Amazon EMREMR batch job
Amazon EMRHDFS: temporary working data
Amazon S3 bucketS3: durable results

1 / 5 The input bucket holds the batch dataset. Its objects remain available independently of any processing cluster.

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.