{"id":3222,"date":"2012-11-14T10:00:20","date_gmt":"2012-11-14T08:00:20","guid":{"rendered":"http:\/\/www.javacodegeeks.com\/?p=3222"},"modified":"2013-04-16T15:04:13","modified_gmt":"2013-04-16T12:04:13","slug":"hadoop-amazon-ec2-an-updated-tutorial","status":"publish","type":"post","link":"https:\/\/www.javacodegeeks.com\/2012\/11\/hadoop-amazon-ec2-an-updated-tutorial.html","title":{"rendered":"Hadoop + Amazon EC2 &#8211; An updated tutorial"},"content":{"rendered":"<p>There is an old tutorial placed at Hadoop&#8217;s wiki page: <a href=\"http:\/\/wiki.apache.org\/hadoop\/AmazonEC2\" target=\"_blank\">http:\/\/wiki.apache.org\/hadoop\/AmazonEC2<\/a>, but recently I had to follow this tutorial and I noticed that it doesn&#8217;t cover some new Amazon functionality.<\/p>\n<p>To follow this tutorial is recommended that you are already familiar with the basics of Hadoop, a very useful &#8216;how to start&#8217; tutorial can be found at Hadoop&#8217;s homepage: <a href=\"http:\/\/hadoop.apache.org\/\" target=\"_blank\">http:\/\/hadoop.apache.org\/<\/a>. Also, you have to be familiar with at least Amazon EC2 internals and instance definitions.<\/p>\n<p>When you register an account at Amazon AWS you receive 750 hours to run<br \/>\n<em>t1.micro<\/em> instances, but unfortunately, you can&#8217;t successfully run Hadoop in such machines.<\/p>\n<p>On the following steps, when a command starts with $ means that it should be executed into the local machine, and with # into the EC2 instance.<\/p>\n<p><strong>Create an X.509 Certificate<\/strong><\/p>\n<p>Since we gonna use ec2-tools, our account at AWS needs a valid X.509 Certificate:<\/p>\n<ul>\n<ul>\n<li>Create .ec2 folder:<\/li>\n<\/ul>\n<\/ul>\n<pre class=\" brush:java\">$ mkdir ~\/.ec2<\/pre>\n<ul>\n<ul>\n<li>Login in at AWS\n<ul>\n<li>Select \u201cSecurity Credentials\u201d and at &#8216;Access Credentials&#8217; click on &#8216;X.509 Certificates&#8217;;<\/li>\n<li>You have two options:\n<ul>\n<li>Create certificate using command line:<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/ul>\n<pre class=\" brush:java\">$ cd ~\/.ec2; openssl genrsa -des3 -out my-pk.pem 2048<\/pre>\n<pre class=\" brush:java\">$ openssl rsa -in my-pk.pem -out my-pk-unencrypt.pem<\/pre>\n<pre class=\" brush:java\">$ openssl req -new -x509 -key my-pk.pem -out my-cert.pem -days 1095<\/pre>\n<ul>\n<ul>\n<ul>\n<ul>\n<li>It only works if your machine date is ok.<\/li>\n<\/ul>\n<\/ul>\n<ul>\n<li>Create the certificate using the site and download the private-key (remember to put it at ~\/.ec2).<\/li>\n<\/ul>\n<\/ul>\n<\/ul>\n<p>&nbsp;<br \/>\n<strong>Setting up Amazon EC2-Tools<\/strong><\/p>\n<ul>\n<ul>\n<li><a href=\"http:\/\/s3.amazonaws.com\/ec2-downloads\/ec2-api-tools.zip\" target=\"_blank\">Download<\/a> and unpack ec2-tools;<\/li>\n<li>Edit your ~\/.profile to export all variables needed by ec2-tools, so you don&#8217;t have to do it every time that you open a prompt:\n<ul>\n<li>Here is an example of what should be appended to the ~\/.profile file:\n<ul>\n<li>export JAVA_HOME=\/usr\/lib\/jvm\/java-6-sun<\/li>\n<li>export EC2_HOME=~\/ec2-api-tools-*<\/li>\n<li>export PATH=$PATH:$EC2_HOME\/bin<\/li>\n<li>export EC2_CERT=~\/.ec2\/my-cert.pem<\/li>\n<\/ul>\n<\/li>\n<li>To access an instance, you need to be authenticated (obvious security reasons), in this way, you have to create a Key Pair (public and private keys):\n<ul>\n<li>At https:\/\/console.aws.amazon.com\/ec2\/home, click on &#8216;Key Pairs&#8217;, or<\/li>\n<li>You can run the following commands:<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/ul>\n<pre class=\" brush:java\">$ ec2-add-keypair my-keypair | grep \u2013v KEYPAIR &gt; ~\/.ec2\/id_rsa-keypair<\/pre>\n<pre class=\" brush:java\">$ chmod 600 ~\/.ec2\/id_rsa-keypair<\/pre>\n<p>&nbsp;<br \/>\n<strong>Setting up Hadoop<\/strong><div style=\"display:inline-block; margin: 15px 0;\"> <div id=\"adngin-JavaCodeGeeks_incontent_video-0\" style=\"display:inline-block;\"><\/div> <\/div><\/p>\n<p>After\u00a0<a href=\"http:\/\/www.apache.org\/dyn\/closer.cgi\/hadoop\/core\/\" target=\"_blank\">download<\/a>\u00a0and unpack Hadoop, you have to edit the EC2 configuration script present at src\/contrib\/ec2\/bin\/hadoop-ec2-env.sh.<\/p>\n<ul>\n<li><strong>AWS variables<\/strong>\n<ul>\n<li>These variables are related to your AWS account (AWS_ACCOUNT_ID, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY), they can be found at logging at your account, in Security Credentials;\n<ul>\n<li>The AWS_ACCOUNT_ID is your 12 digit account number.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li><strong>Security variables<\/strong>\n<ul>\n<li>The security variables (EC2_KEYDIR, KEY_NAME, PRIVATE_KEY_PATH), are the ones related to the launch and access of an EC2 instance;<\/li>\n<li>You have to save the private key into your EC2_KEYDIR path.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<ul>\n<li><strong>Select an AMI<\/strong>\n<ul>\n<li>Depending on Hadoop&#8217;s version that you want to run (HADOOP_VERSION) and the instance type (INSTANCE_TYPE), you should use a properly image to deploy your instance:<\/li>\n<li>There are many public AMI images that you can use (they must suit the needs for most users), to list, type<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/ul>\n<pre class=\" brush:java\">$ ec2-describe-images -x all | grep hadoop<\/pre>\n<ul>\n<ul>\n<li>Or you can build your own image, and upload it to an Amazon S3 bucket;<\/li>\n<li>After selecting the AMI you will use, there are basically three variables to edit at hadoop-ec2-env.sh:\n<ul>\n<li>S3_BUCKET: the bucket where is placed the image that you will use, example hadoop-images,<\/li>\n<li>ARCH: the architecture of the AMI image you have chosen (i386 or x84_64) and<\/li>\n<li>BASE_AMI_IMAGE: the unique code that maps an AMI image, example ami-2b5fba42.<\/li>\n<\/ul>\n<\/li>\n<li>Other configurable variable is the JAVA_VERSION, there you can define which version will be installed along with the instance:\n<ul>\n<li>You can also provide a link where would be located the binary (JAVA_BINARY_URL), for instance, if you have JAVA_VERSION=1.6.0_29, an option is use JAVA_BINARY_URL=http:\/\/download.oracle.com\/otn-pub\/java\/jdk\/6u29-b11\/jdk-6u29-linux-i586.bin.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/ul>\n<p>&nbsp;<br \/>\n<strong>Running!<\/strong><\/p>\n<ul>\n<ul>\n<li>You can add the content of src\/contrib\/ec2\/bin to your PATH variable so you will be able to run the commands indepentend from where the prompt is open;<\/li>\n<li>To launch a EC2 cluster and start Hadoop, you use the following command. The arguments are the cluster name (hadoop-test) and the number of slaves (2). When the cluster boots, the public DNS name will be printed to the console.<\/li>\n<\/ul>\n<\/ul>\n<pre class=\" brush:java\">$ hadoop-ec2 launch-cluster hadoop-test 2<\/pre>\n<ul>\n<ul>\n<li>To login at the master node from your &#8216;cluster&#8217; you type:<\/li>\n<\/ul>\n<\/ul>\n<pre class=\" brush:java\">$ hadoop-ec2 login hadoop-test<\/pre>\n<ul>\n<ul>\n<li>Once you are logged into the master node you will be able to start the job:\n<ul>\n<li>For example, to test your cluster, you can run a pi calculation that is already provided by the hadoop*-examples.jar:<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/ul>\n<pre class=\" brush:java\"># cd \/usr\/local\/hadoop-*<\/pre>\n<pre class=\" brush:java\"># bin\/hadoop jar hadoop-*-examples.jar pi 10 10000000<\/pre>\n<ul>\n<ul>\n<li>You can check your job progress at http:\/\/MASTER_HOST:50030\/. Where MASTER_HOST is the host name returned after the cluster started.<\/li>\n<li>After your job has finished, the cluster remains alive. To shutdown you use the following command:<\/li>\n<\/ul>\n<\/ul>\n<pre class=\" brush:java\">$ hadoop-ec2 terminate-cluster hadoop-test<\/pre>\n<ul>\n<ul>\n<li>Remember that in Amazon EC2, the instances are charged per hour, so if you only wanted to do tests, you can play with the cluster for some more minutes.<\/li>\n<\/ul>\n<\/ul>\n<p>&nbsp;<br \/>\n<strong><em>Reference: <\/em><\/strong><a href=\"http:\/\/rodrigodsousa.blogspot.com\/2012\/03\/hadoop-amazon-ec2-updated-tutorial.html\">Hadoop + Amazon EC2 &#8211; An updated tutorial<\/a> from our <a href=\"http:\/\/www.javacodegeeks.com\/p\/jcg.html\">JCG partner<\/a> Rodrigo Duarte at the <a href=\"http:\/\/rodrigodsousa.blogspot.com\/\">Thinking Bigger<\/a> blog.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There is an old tutorial placed at Hadoop&#8217;s wiki page: http:\/\/wiki.apache.org\/hadoop\/AmazonEC2, but recently I had to follow this tutorial and I noticed that it doesn&#8217;t cover some new Amazon functionality. To follow this tutorial is recommended that you are already familiar with the basics of Hadoop, a very useful &#8216;how to start&#8217; tutorial can be &hellip;<\/p>\n","protected":false},"author":303,"featured_media":62,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[499,184,372],"class_list":["post-3222","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-enterprise-java","tag-amazon-ec2","tag-apache-hadoop","tag-big-data"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Hadoop + Amazon EC2 - An updated tutorial<\/title>\n<meta name=\"description\" content=\"There is an old tutorial placed at Hadoop&#039;s wiki page: http:\/\/wiki.apache.org\/hadoop\/AmazonEC2, but recently I had to follow this tutorial and I noticed\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.javacodegeeks.com\/2012\/11\/hadoop-amazon-ec2-an-updated-tutorial.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Hadoop + Amazon EC2 - An updated tutorial\" \/>\n<meta property=\"og:description\" content=\"There is an old tutorial placed at Hadoop&#039;s wiki page: http:\/\/wiki.apache.org\/hadoop\/AmazonEC2, but recently I had to follow this tutorial and I noticed\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.javacodegeeks.com\/2012\/11\/hadoop-amazon-ec2-an-updated-tutorial.html\" \/>\n<meta property=\"og:site_name\" content=\"Java Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/javacodegeeks\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rodrigodsousa\" \/>\n<meta property=\"article:published_time\" content=\"2012-11-14T08:00:20+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2013-04-16T12:04:13+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/apache-hadoop-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Rodrigo Duarte\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@http:\/\/twitter.com\/rodrigods\" \/>\n<meta name=\"twitter:site\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Rodrigo Duarte\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/11\\\/hadoop-amazon-ec2-an-updated-tutorial.html#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/11\\\/hadoop-amazon-ec2-an-updated-tutorial.html\"},\"author\":{\"name\":\"Rodrigo Duarte\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/de07615fb5ce954d08d06f2026fd46c8\"},\"headline\":\"Hadoop + Amazon EC2 &#8211; An updated tutorial\",\"datePublished\":\"2012-11-14T08:00:20+00:00\",\"dateModified\":\"2013-04-16T12:04:13+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/11\\\/hadoop-amazon-ec2-an-updated-tutorial.html\"},\"wordCount\":838,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/11\\\/hadoop-amazon-ec2-an-updated-tutorial.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/apache-hadoop-logo.jpg\",\"keywords\":[\"Amazon EC2\",\"Apache Hadoop\",\"Big Data\"],\"articleSection\":[\"Enterprise Java\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/11\\\/hadoop-amazon-ec2-an-updated-tutorial.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/11\\\/hadoop-amazon-ec2-an-updated-tutorial.html\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/11\\\/hadoop-amazon-ec2-an-updated-tutorial.html\",\"name\":\"Hadoop + Amazon EC2 - An updated tutorial\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/11\\\/hadoop-amazon-ec2-an-updated-tutorial.html#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/11\\\/hadoop-amazon-ec2-an-updated-tutorial.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/apache-hadoop-logo.jpg\",\"datePublished\":\"2012-11-14T08:00:20+00:00\",\"dateModified\":\"2013-04-16T12:04:13+00:00\",\"description\":\"There is an old tutorial placed at Hadoop's wiki page: http:\\\/\\\/wiki.apache.org\\\/hadoop\\\/AmazonEC2, but recently I had to follow this tutorial and I noticed\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/11\\\/hadoop-amazon-ec2-an-updated-tutorial.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/11\\\/hadoop-amazon-ec2-an-updated-tutorial.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/11\\\/hadoop-amazon-ec2-an-updated-tutorial.html#primaryimage\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/apache-hadoop-logo.jpg\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/apache-hadoop-logo.jpg\",\"width\":150,\"height\":150},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/11\\\/hadoop-amazon-ec2-an-updated-tutorial.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Java\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/category\\\/java\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Enterprise Java\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/category\\\/java\\\/enterprise-java\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Hadoop + Amazon EC2 &#8211; An updated tutorial\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\",\"name\":\"Java Code Geeks\",\"description\":\"Java Developers Resource Center\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"alternateName\":\"JCG\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.javacodegeeks.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/exelixis-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/javacodegeeks\",\"https:\\\/\\\/x.com\\\/javacodegeeks\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/de07615fb5ce954d08d06f2026fd46c8\",\"name\":\"Rodrigo Duarte\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b5bd300b412a5c18e9fe05fd92f302776f56a14d0b8b9f0489d5d4021b729403?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b5bd300b412a5c18e9fe05fd92f302776f56a14d0b8b9f0489d5d4021b729403?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b5bd300b412a5c18e9fe05fd92f302776f56a14d0b8b9f0489d5d4021b729403?s=96&d=mm&r=g\",\"caption\":\"Rodrigo Duarte\"},\"sameAs\":[\"http:\\\/\\\/rodrigodsousa.blogspot.com\\\/\",\"https:\\\/\\\/www.facebook.com\\\/rodrigodsousa\",\"http:\\\/\\\/br.linkedin.com\\\/in\\\/rodrigods\\\/\",\"https:\\\/\\\/x.com\\\/http:\\\/\\\/twitter.com\\\/rodrigods\"],\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/author\\\/Rodrigo-Duarte\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Hadoop + Amazon EC2 - An updated tutorial","description":"There is an old tutorial placed at Hadoop's wiki page: http:\/\/wiki.apache.org\/hadoop\/AmazonEC2, but recently I had to follow this tutorial and I noticed","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.javacodegeeks.com\/2012\/11\/hadoop-amazon-ec2-an-updated-tutorial.html","og_locale":"en_US","og_type":"article","og_title":"Hadoop + Amazon EC2 - An updated tutorial","og_description":"There is an old tutorial placed at Hadoop's wiki page: http:\/\/wiki.apache.org\/hadoop\/AmazonEC2, but recently I had to follow this tutorial and I noticed","og_url":"https:\/\/www.javacodegeeks.com\/2012\/11\/hadoop-amazon-ec2-an-updated-tutorial.html","og_site_name":"Java Code Geeks","article_publisher":"https:\/\/www.facebook.com\/javacodegeeks","article_author":"https:\/\/www.facebook.com\/rodrigodsousa","article_published_time":"2012-11-14T08:00:20+00:00","article_modified_time":"2013-04-16T12:04:13+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/apache-hadoop-logo.jpg","type":"image\/jpeg"}],"author":"Rodrigo Duarte","twitter_card":"summary_large_image","twitter_creator":"@http:\/\/twitter.com\/rodrigods","twitter_site":"@javacodegeeks","twitter_misc":{"Written by":"Rodrigo Duarte","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.javacodegeeks.com\/2012\/11\/hadoop-amazon-ec2-an-updated-tutorial.html#article","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/2012\/11\/hadoop-amazon-ec2-an-updated-tutorial.html"},"author":{"name":"Rodrigo Duarte","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/de07615fb5ce954d08d06f2026fd46c8"},"headline":"Hadoop + Amazon EC2 &#8211; An updated tutorial","datePublished":"2012-11-14T08:00:20+00:00","dateModified":"2013-04-16T12:04:13+00:00","mainEntityOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2012\/11\/hadoop-amazon-ec2-an-updated-tutorial.html"},"wordCount":838,"commentCount":0,"publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2012\/11\/hadoop-amazon-ec2-an-updated-tutorial.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/apache-hadoop-logo.jpg","keywords":["Amazon EC2","Apache Hadoop","Big Data"],"articleSection":["Enterprise Java"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.javacodegeeks.com\/2012\/11\/hadoop-amazon-ec2-an-updated-tutorial.html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.javacodegeeks.com\/2012\/11\/hadoop-amazon-ec2-an-updated-tutorial.html","url":"https:\/\/www.javacodegeeks.com\/2012\/11\/hadoop-amazon-ec2-an-updated-tutorial.html","name":"Hadoop + Amazon EC2 - An updated tutorial","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2012\/11\/hadoop-amazon-ec2-an-updated-tutorial.html#primaryimage"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2012\/11\/hadoop-amazon-ec2-an-updated-tutorial.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/apache-hadoop-logo.jpg","datePublished":"2012-11-14T08:00:20+00:00","dateModified":"2013-04-16T12:04:13+00:00","description":"There is an old tutorial placed at Hadoop's wiki page: http:\/\/wiki.apache.org\/hadoop\/AmazonEC2, but recently I had to follow this tutorial and I noticed","breadcrumb":{"@id":"https:\/\/www.javacodegeeks.com\/2012\/11\/hadoop-amazon-ec2-an-updated-tutorial.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.javacodegeeks.com\/2012\/11\/hadoop-amazon-ec2-an-updated-tutorial.html"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/2012\/11\/hadoop-amazon-ec2-an-updated-tutorial.html#primaryimage","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/apache-hadoop-logo.jpg","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/apache-hadoop-logo.jpg","width":150,"height":150},{"@type":"BreadcrumbList","@id":"https:\/\/www.javacodegeeks.com\/2012\/11\/hadoop-amazon-ec2-an-updated-tutorial.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.javacodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"Java","item":"https:\/\/www.javacodegeeks.com\/category\/java"},{"@type":"ListItem","position":3,"name":"Enterprise Java","item":"https:\/\/www.javacodegeeks.com\/category\/java\/enterprise-java"},{"@type":"ListItem","position":4,"name":"Hadoop + Amazon EC2 &#8211; An updated tutorial"}]},{"@type":"WebSite","@id":"https:\/\/www.javacodegeeks.com\/#website","url":"https:\/\/www.javacodegeeks.com\/","name":"Java Code Geeks","description":"Java Developers Resource Center","publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"alternateName":"JCG","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.javacodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.javacodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/www.javacodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/javacodegeeks","https:\/\/x.com\/javacodegeeks"]},{"@type":"Person","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/de07615fb5ce954d08d06f2026fd46c8","name":"Rodrigo Duarte","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/b5bd300b412a5c18e9fe05fd92f302776f56a14d0b8b9f0489d5d4021b729403?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/b5bd300b412a5c18e9fe05fd92f302776f56a14d0b8b9f0489d5d4021b729403?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b5bd300b412a5c18e9fe05fd92f302776f56a14d0b8b9f0489d5d4021b729403?s=96&d=mm&r=g","caption":"Rodrigo Duarte"},"sameAs":["http:\/\/rodrigodsousa.blogspot.com\/","https:\/\/www.facebook.com\/rodrigodsousa","http:\/\/br.linkedin.com\/in\/rodrigods\/","https:\/\/x.com\/http:\/\/twitter.com\/rodrigods"],"url":"https:\/\/www.javacodegeeks.com\/author\/Rodrigo-Duarte"}]}},"_links":{"self":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/3222","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/users\/303"}],"replies":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/comments?post=3222"}],"version-history":[{"count":0,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/3222\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media\/62"}],"wp:attachment":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media?parent=3222"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/categories?post=3222"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/tags?post=3222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}