Running on a cluster
Ahead of time, I copied everything to AWS's S3 service, just so I can quickly access all of the scripts and data files that I need. I can use that to quickly copy over my script from S3 and also refer to my "big data" using S3 and URL. This means that I can just load my data directly from Amazon's S3 service. One of the good things about using Amazon Web Service's EMR cluster is that it has very fast and very good connectivity to S3, so S3 becomes a good choice for a distributed file system to use together with EMR. You can use s3n:// URLs when specifying file paths. You can also spin up an HDFS file system as well if you want to.
The next thing we'll do will be to spin up a EMR cluster for Spark using the AWS console. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access