{"id":16,"date":"2012-11-10T18:04:00","date_gmt":"2012-11-10T18:04:00","guid":{"rendered":"http:\/\/www.mirageglobe.com\/wp\/?p=16"},"modified":"2012-11-10T18:04:00","modified_gmt":"2012-11-10T18:04:00","slug":"hadoop-single-node-32bit-on-12-10-mint-xfce","status":"publish","type":"post","link":"https:\/\/pages.alldaycity.com\/mirageglobe\/hadoop-single-node-32bit-on-12-10-mint-xfce\/","title":{"rendered":"Hadoop Single node 32bit on 12.10 Mint XFCE"},"content":{"rendered":"<div dir=\"ltr\">An installation using Linux Mint 13 based on Ubuntu 12.10. Install virtualbox and download Linux Mint XFCE 13. Install Linux mint 13 XFCE on virtual box.<\/p>\n<p>Once installed open terminal and run.<\/p>\n<blockquote><p><i>&gt; sudo apt-get update<br \/>&gt; sudo apt-get upgrade<br \/>&gt; sudo apt-get install build-essential<\/i><\/p><\/blockquote>\n<p>Get some coffee beans and start brewing :D. Back to terminal.<\/p>\n<blockquote><p><i>&gt; su<br \/># adduser hadoop<br \/># passwd hadoop<\/i><\/p><\/blockquote>\n<p>Into the new users account<\/p>\n<blockquote><p><i>&gt; su hadoop<br \/>&gt; cd ~<br \/>&gt; wget ftp:\/\/ftp.mirrorservice.org\/sites\/ftp.apache.org\/hadoop\/common\/hadoop-1.0.4\/hadoop-1.0.4.tar.gz<\/i><\/p><\/blockquote>\n<p>Note: check from\u00a0http:\/\/www.apache.org\/dyn\/closer.cgi\/hadoop\/common\/ and see which newer version you want. Here the installation is based on stable 1.0.x.<br \/>Check if your java is installed.<\/p>\n<blockquote><p><i>&gt; java -version<\/i><\/p><\/blockquote>\n<div><a href=\"http:\/\/4.bp.blogspot.com\/-YyxzqFESqlY\/UJ6Yb1shwDI\/AAAAAAAAC0U\/akmbWFBtlt0\/s1600\/linuxmint.png\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" height=\"303\" src=\"http:\/\/4.bp.blogspot.com\/-YyxzqFESqlY\/UJ6Yb1shwDI\/AAAAAAAAC0U\/akmbWFBtlt0\/s400\/linuxmint.png\" width=\"400\"><\/a><\/div>\n<div><\/div>\n<p>Unzip the file<br \/><i>&gt; tar xvfz hadoop-1.0.4.tar.gz<\/i><\/p>\n<p>This will show the location of your java installation directory<br \/>&gt; which java<br \/>&gt; grep JAVA ~\/hadoop-1.0.4\/conf\/hadoop-env.sh<br \/>&gt; nano\u00a0~\/hadoop-1.0.4\/conf\/hadoop-env.sh<\/p>\n<p>and change JAVA_HOME to below.<\/p>\n<p><i># The only required environment variable is JAVA_HOME. \u00a0All others are<\/i><br \/><i># set JAVA_HOME in this file, so that it is correctly defined on<\/i><br \/><i># export JAVA_HOME=\/usr\/lib\/j2sdk1.5-sun<\/i><br \/><i>export JAVA_HOME=\/usr\/<\/i><br \/><i># note that this should be \/usr\/bin\/java , but it seems that \/usr\/ works on linux mint??<\/i><br \/><i><br \/><\/i><i><\/i><br \/><i>&gt; cd ~\/hadoop-1.0.4<\/i><br \/><i>&gt; mkdir input<\/i><\/p>\n<p><i>&gt;\u00a0<\/i><span>cp conf\/*.xml input<\/span><br \/><i><br \/><\/i>To test..<br \/><i><br \/><\/i><i>&gt;\u00a0bin\/hadoop jar hadoop-examples-*.jar grep input output &#8216;dfs[a-z.]+&#8217;<\/i><br \/><i>&gt;\u00a0ls -l output<\/i><br \/><i><br \/><\/i>and this will give you some output files.!<\/p>\n<div><a href=\"http:\/\/1.bp.blogspot.com\/-fEu2gnhhEyM\/UJ6fAgwg38I\/AAAAAAAAC0o\/LvfDY1RQxFo\/s1600\/hadooptest.png\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" height=\"244\" src=\"http:\/\/1.bp.blogspot.com\/-fEu2gnhhEyM\/UJ6fAgwg38I\/AAAAAAAAC0o\/LvfDY1RQxFo\/s320\/hadooptest.png\" width=\"320\"><\/a><\/div>\n<p><i><br \/><\/i>Reference:\u00a0http:\/\/www.thegeekstuff.com\/2012\/02\/hadoop-standalone-installation\/<br \/><i><br \/><\/i><i><br \/><\/i><\/p>\n<div><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>An installation using Linux Mint 13 based on Ubuntu 12.10. Install virtualbox and download Linux Mint XFCE 13. Install Linux mint 13 XFCE on virtual box. Once installed open terminal and run. &gt; sudo apt-get update&gt; sudo apt-get upgrade&gt; sudo apt-get install build-essential Get some coffee beans and start brewing :D. Back to terminal. &gt; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-16","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-json\/wp\/v2\/posts\/16","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-json\/wp\/v2\/comments?post=16"}],"version-history":[{"count":0,"href":"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-json\/wp\/v2\/posts\/16\/revisions"}],"wp:attachment":[{"href":"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-json\/wp\/v2\/media?parent=16"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-json\/wp\/v2\/categories?post=16"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-json\/wp\/v2\/tags?post=16"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}