<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-8518756377178005132</atom:id><lastBuildDate>Sat, 31 Aug 2024 10:50:10 +0000</lastBuildDate><title>IT Bleeding edge</title><description>Thoughts, discussion and experiments on emerging technologies.</description><link>http://itbleedingedge.blogspot.com/</link><managingEditor>noreply@blogger.com (Anonymous)</managingEditor><generator>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8518756377178005132.post-4779826661004115968</guid><pubDate>Wed, 06 Feb 2013 12:18:00 +0000</pubDate><atom:updated>2015-04-06T11:53:26.679+10:00</atom:updated><title>How to build a Hadoop cluster using Raspberry Pi systems</title><description>&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg83NO6Mg8yz4PodCj7_flh82wL-lGR1lSjVk5tbXQOX2WroiIYOdMWzl2QNBdDGNhmr4MCnwZLeowpTLLMsXBikyIT4kmcPfry8tOLEASM3FmVpoAwwSg3gFgA9Je2_j_Zl_1sePxCjF4/s1600/IMG_0010.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg83NO6Mg8yz4PodCj7_flh82wL-lGR1lSjVk5tbXQOX2WroiIYOdMWzl2QNBdDGNhmr4MCnwZLeowpTLLMsXBikyIT4kmcPfry8tOLEASM3FmVpoAwwSg3gFgA9Je2_j_Zl_1sePxCjF4/s1600/IMG_0010.JPG&quot; height=&quot;240&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: 15px; white-space: pre-wrap;&quot;&gt;Raspberry Pi cluster&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial; font-size: 15px; white-space: pre-wrap;&quot;&gt;Initial enclosure with sticky tape and rubber bands.&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Background information&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span id=&quot;internal-source-marker_0.0684084368404001&quot;&gt;&lt;span style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Big_data&quot;&gt;“Big Data”&lt;/a&gt; analysis is a fast and agile alternative to structured data warehouses and OLAP approaches that have dominated &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;analytic&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt; reporting for many years. &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;Using Big Data approaches you can derive&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt; information from unstructured data,&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt; such as written documentation, websites and even program log files. &amp;nbsp;This &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; white-space: pre-wrap;&quot;&gt;is the one of the key technologies used by internet search engines such as Google and Yahoo.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;a href=&quot;http://hadoop.apache.org/&quot;&gt;Hadoop&lt;/a&gt; is an open source Apache&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; white-space: pre-wrap;&quot;&gt;Big Data &lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; white-space: pre-wrap;&quot;&gt;tool that provides both a base platform and data analysis tools.  It is written in Java and the redundancy and high availability make it a feasible technology for deployment on large numbers of commodity grade computers.  &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial; font-size: 15px; white-space: pre-wrap;&quot;&gt;Most smart phones use ARM based system on a chip processors.  These are an alternate technology to Intel processors that offers both a lower cost point and power consumption.  This was highlighted recently in an IEEE article: &lt;/span&gt;&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #1155cc; font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;a href=&quot;http://spectrum.ieee.org/semiconductors/processors/the-battle-between-arm-and-intel-gets-real&quot;&gt;http://spectrum.ieee.org/semiconductors/processors/the-battle-between-arm-and-intel-gets-real&lt;/a&gt;:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;“&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Arial; font-size: 12px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Exactly how this competition shapes up will depend not on performance or power consumption but on the ratio between the two: performance per watt. And that metric is fueling a fiery debate over the fundamental differences between Intel’s x86 chips and ARM’s processors.  ”&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;ARM processor technology is set to make its way into data centres.  A quick search on Google shows some of the current ARM service offerings from the big boys&lt;/span&gt;&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;font-weight: normal; margin-bottom: 0pt; margin-left: 36pt; margin-top: 0pt;&quot;&gt;
&lt;a href=&quot;http://content.dell.com/us/en/enterprise/d/campaigns/project-copper&quot;&gt;&lt;span style=&quot;color: #1155cc; font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;http://content.dell.com/us/en/enterprise/d/campaigns/project-copper&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;font-weight: normal; margin-bottom: 0pt; margin-left: 36pt; margin-top: 0pt;&quot;&gt;
&lt;a href=&quot;http://h17007.www1.hp.com/us/en/iss/110111.aspx&quot;&gt;&lt;span style=&quot;color: #1155cc; font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;http://h17007.www1.hp.com/us/en/iss/110111.aspx&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;font-weight: normal; margin-bottom: 0pt; margin-left: 36pt; margin-top: 0pt;&quot;&gt;
&lt;a href=&quot;http://www.engadget.com/2011/11/02/hp-and-calxedas-moonshot-arm-servers-will-bring-all-the-boys-to/&quot;&gt;&lt;span style=&quot;color: #1155cc; font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;http://www.engadget.com/2011/11/02/hp-and-calxedas-moonshot-arm-servers-will-bring-all-the-boys-to/&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;It is also available&amp;nbsp;on a smaller scale.  The Raspberry Pi &lt;/span&gt;&lt;/b&gt;&lt;/b&gt;&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;is one of a range of low cost ARM system on a chip solutions. &amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/b&gt;&lt;/b&gt;
&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;This begs the questions:&lt;/span&gt;&lt;/b&gt;&lt;/b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li style=&quot;font-weight: normal;&quot;&gt;&lt;b&gt;&lt;b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Can I build a working Hadoop Cluster using the Raspberry Pi&lt;/span&gt;&lt;/b&gt;&lt;/b&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;Does it perform as well as an Intel processor using price/performance and performance/watt?&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li style=&quot;font-weight: normal;&quot;&gt;&lt;b style=&quot;font-family: Arial; font-size: 15px; white-space: pre-wrap;&quot;&gt;Can I find a practical use for it at home?&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div style=&quot;font-weight: normal;&quot;&gt;
&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;b style=&quot;font-weight: normal;&quot;&gt;
&lt;/b&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: normal;&quot;&gt;
&lt;b style=&quot;font-weight: normal;&quot;&gt;
&lt;/b&gt;&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;/b&gt;
&lt;/div&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: normal;&quot;&gt;
&lt;b style=&quot;font-weight: normal;&quot;&gt;
&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-weight: normal;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: 15px; white-space: pre-wrap;&quot;&gt;I will cover the basics of building Raspberry Pi Hadoop cluster in this post.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: normal;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;The plan&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Arial; font-size: 15px; white-space: pre-wrap;&quot;&gt;To configure three Raspberry Pi as Hadoop data servers with the master Job Tracker and Name Node processes running on another server.&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &#39;Times New Roman&#39;; font-size: medium; white-space: normal;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;So why 3 data servers? This is less because of any special properties of prime numbers than the number of available ports on my router&lt;b&gt; &lt;/b&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;nd my&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; bu&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;dget does not stretch much past three servers.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font-weight: normal;&quot;&gt;
&lt;div style=&quot;font-family: &#39;Times New Roman&#39;; font-size: medium; white-space: normal;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; white-space: pre-wrap;&quot;&gt;Fortunately we will be standing on the shoulders of others&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Times New Roman&#39;; font-size: medium; white-space: normal;&quot;&gt;
&lt;ul style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;
&lt;li dir=&quot;ltr&quot; style=&quot;font-family: Arial; font-size: 15px; list-style-type: disc; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;vertical-align: baseline; white-space: pre-wrap;&quot;&gt;The &lt;a href=&quot;http://www.raspberrypi.org/&quot;&gt;Raspberry Pi&lt;/a&gt; website contains a lot of useful information about the initial setup.  &lt;/span&gt;&lt;/li&gt;
&lt;li dir=&quot;ltr&quot; style=&quot;font-family: Arial; font-size: 15px; list-style-type: disc; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;vertical-align: baseline; white-space: pre-wrap;&quot;&gt;A simpler project is a WebServer farm such as this one (&lt;/span&gt;&lt;a href=&quot;http://www.raspberrypi.org/phpBB3/viewtopic.php?f=26&amp;amp;t=24441&quot;&gt;&lt;span style=&quot;color: #1155cc; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;http://www.raspberrypi.org/phpBB3/viewtopic.php?f=26&amp;amp;t=24441&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br class=&quot;kix-line-break&quot; /&gt;&lt;/span&gt;&lt;a href=&quot;http://my-music.mine.nu/images/rpi_raspianwheezy_setup.pdf&quot;&gt;&lt;span style=&quot;color: #1155cc; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;http://my-music.mine.nu/images/rpi_raspianwheezy_setup.pdf&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;vertical-align: baseline; white-space: pre-wrap;&quot;&gt;)&lt;/span&gt;&lt;/li&gt;
&lt;li dir=&quot;ltr&quot; style=&quot;font-family: Arial; font-size: 15px; list-style-type: disc; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;vertical-align: baseline; white-space: pre-wrap;&quot;&gt;A 64 node supercomputer if you want to go hard core and have a spare box of Lego (University of Southampton) &lt;/span&gt;&lt;a href=&quot;http://www.southampton.ac.uk/~sjc/raspberrypi/&quot;&gt;&lt;span style=&quot;color: #1155cc; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;http://www.southampton.ac.uk/~sjc/raspberrypi/&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li dir=&quot;ltr&quot; style=&quot;font-family: Arial; font-size: 15px; list-style-type: disc; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Michael Noll has provided a couple of excellent tutorials on setting up Hadoop clusters using a &lt;a href=&quot;http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-single-node-cluster/&quot;&gt;Single node&lt;/a&gt; or &lt;a href=&quot;http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-multi-node-cluster/&quot;&gt;Multiple node&lt;/a&gt; configuration.&lt;/span&gt;&lt;/li&gt;
&lt;li dir=&quot;ltr&quot; style=&quot;font-family: Arial; font-size: 15px; list-style-type: disc; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Big Data for the impatient 
&lt;a href=&quot;http://www.ibm.com/developerworks/data/library/techarticle/dm-1209hadoopbigdata/&quot;&gt;http://www.ibm.com/developerworks/data/library/techarticle/dm-1209hadoopbigdata/&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/span&gt;&lt;/ul&gt;
&lt;span style=&quot;font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;The&amp;nbsp;time saver here is to get this working in a single node worker image configuration first before attempting to configure the cluster.  You can then copy and adjust the image to configure your cluster.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;
Results to date&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;My initial test case is the &lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; white-space: pre-wrap;&quot;&gt;word count example&amp;nbsp;program shipped with Hadoop.  This provides a simple map/reduce performance test of the solution and is described in Michael Noll&#39;s Multi-Node configuration.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Untuned the runtime is approximately 20 min to count the words of the seven documents Michael suggests.  This is mostly a result of JVM swapping.  A little tuning brought this down to 7 minutes.  &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;I was hoping for rough price/performance parity with an i3 Sandy bridge processor.  When I complete testing I will be providing comparison data with a Samsung Series 3 NP350E5C-A01 as a single node solution.  (The same test ran in around 20seconds)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Some things to try&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Overclocking the Pi to 1GHz&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Turning off swapping&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;does the -client switch provide better optimisation&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Does the Oracle JDK provide better performance&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;b&gt;Closing thoughts and open questions&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Commercial grade ARM processors come with far better performance than the Raspberry Pi.  A larger scale test would be required to understand if commercial ARM solutions are a feasible alternative to Intel processors for a Hadoop Big Data farm. &amp;nbsp;Are the advanced functions on the Intel XEON chips worth the investment for this type of workload?&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;The Performance per Watt metric will most likely be important for the ongoing operational costs of data centers.  The operational cost of a server is usually greater than the initial purchase price.  Perhaps a balance between performance per Watt and price/performance metrics is required for large system purchases.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;I have three open questions&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; white-space: pre-wrap;&quot;&gt;What is the best performance I can get on the Raspberry Pi Cluster through tuning?&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;Did I achieve price/performance parity with an i3 processor?&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;What practical use can I find for my Hadoop cluster at home?&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;b&gt;If you want to try this&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Arial; font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial; font-size: 15px; white-space: pre-wrap;&quot;&gt;I used the following equipment&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;
&lt;li&gt;Three RaspBerry Pi Model B with 512M memory running at 700Mhz&lt;/li&gt;
&lt;li&gt;My home router&lt;/li&gt;
&lt;li&gt;Three ethernet cables&lt;/li&gt;
&lt;li&gt;Three iPad power supplies.  A little overkill but a good power supply is required for a stable solution.&lt;/li&gt;
&lt;li&gt;Three fast SD cards rated at 30Mb/s.&lt;/li&gt;
&lt;li&gt;Raspbian Wheezy operating system.  &lt;a href=&quot;http://www.raspberrypi.org/phpBB3/viewtopic.php?p=246090#p246090&quot;&gt;I used the hard float version that is not compatible with the Oracle Java runtime.&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;OpenJDK Java runtime&lt;/li&gt;
&lt;/span&gt;&lt;/ul&gt;
&lt;span style=&quot;font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;For the initial setup: 1xHDMI to DVI cable; 1x wireless keyboard &amp;amp; mouse&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;b&gt;How to&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ol style=&quot;font-weight: normal; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;li dir=&quot;ltr&quot; style=&quot;font-family: Arial; font-size: 15px; list-style-type: decimal; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Download the latest Wheezy image, write it to an SD card, wire up your RPI including a monitor, keyboard and mouse, and boot it up. &amp;nbsp;The setup guides will tell you everything you need to know.

&lt;/span&gt;&lt;/li&gt;
&lt;li dir=&quot;ltr&quot; style=&quot;font-family: Arial; font-size: 15px; list-style-type: decimal; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;vertical-align: baseline; white-space: pre-wrap;&quot;&gt;In Raspi-config &lt;/span&gt;&lt;/li&gt;
&lt;ol style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;li dir=&quot;ltr&quot; style=&quot;font-family: Arial; font-size: 15px; list-style-type: lower-alpha; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;vertical-align: baseline; white-space: pre-wrap;&quot;&gt;expand the root file system, &lt;/span&gt;&lt;/li&gt;
&lt;li dir=&quot;ltr&quot; style=&quot;font-family: Arial; font-size: 15px; list-style-type: lower-alpha; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;vertical-align: baseline; white-space: pre-wrap;&quot;&gt;set the keyboard layout, locale, timezone and password for the “pi” user&lt;/span&gt;&lt;/li&gt;
&lt;li dir=&quot;ltr&quot; style=&quot;font-family: Arial; font-size: 15px; list-style-type: lower-alpha; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;vertical-align: baseline; white-space: pre-wrap;&quot;&gt;enable ssh and set the boot behaviour to disable the desktop on boot. &amp;nbsp;This sets up the RPI for headless operation. &amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;li dir=&quot;ltr&quot; style=&quot;font-family: Arial; font-size: 15px; list-style-type: decimal; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Login as pi 

&lt;/span&gt;&lt;/li&gt;
&lt;li dir=&quot;ltr&quot; style=&quot;font-family: Arial; font-size: 15px; list-style-type: decimal; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;vertical-align: baseline; white-space: pre-wrap;&quot;&gt;We will be going commando at the console, but if you prefer, type startx to bring up the GUI then fire up a terminal window.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;font-weight: normal; margin-bottom: 0pt; margin-left: 36pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;The rest of the instructions require root privileges&lt;br class=&quot;kix-line-break&quot; /&gt;$ sudo -i&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Switching to root&lt;br class=&quot;kix-line-break&quot; /&gt;# passwd&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Sets a new root password&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;ol start=&quot;5&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;li dir=&quot;ltr&quot; style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; list-style-type: decimal; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Grab the software we will need&lt;br class=&quot;kix-line-break&quot; /&gt;# apt-get install proftpd&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Installs an ftp server for file transfer&lt;br class=&quot;kix-line-break&quot; /&gt;# apt-get install rsync&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;A fast file transfer tool

&lt;a href=&quot;http://www.raspberrypi.org/phpBB3/viewtopic.php?p=246090#p246090&quot; style=&quot;white-space: normal;&quot;&gt;Install Java&lt;/a&gt;&lt;span style=&quot;white-space: normal;&quot;&gt;&amp;nbsp;and any other software you might need&lt;/span&gt;&lt;br style=&quot;white-space: normal;&quot; /&gt;# sudo apt-get install openjdk-7-jdk
&lt;/span&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;
I grabbed a copy of FORTRAN so that I can experiment with Beowulf clusters at a later date.

&lt;/span&gt;&lt;/li&gt;
&lt;li dir=&quot;ltr&quot; style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; list-style-type: decimal; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Fully upgrade the system
# apt-get update &amp;amp;&amp;amp; apt-get upgrade

&lt;/span&gt;&lt;/li&gt;
&lt;li dir=&quot;ltr&quot; style=&quot;list-style-type: decimal; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;Configure the networking by adding static IP addresses for your cluster in /etc/hosts, and rename your system by updating /etc/hostname to the first of your data servers.  For example, my cluster is:

    192.168.1.108 beowulf
    192.168.1.90 grendel
    192.168.1.91 ides
    192.168.1.92 draca

&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li dir=&quot;ltr&quot; style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; list-style-type: decimal; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;At this point I followed Michael Nolls guide to setup a &lt;a href=&quot;http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-single-node-cluster/&quot;&gt;single node Hadoop cluster&lt;/a&gt; to setup and test Hadoop on both the data server and master node.

&lt;/span&gt;&lt;/li&gt;
&lt;li dir=&quot;ltr&quot; style=&quot;font-family: Arial; font-size: 15px; font-weight: normal; list-style-type: decimal; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;Once you have Hadoop working in single server mode on both the Data server and Master node you can clone the SD card for the remaining data servers, and configure your &lt;a href=&quot;http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-multi-node-cluster/&quot;&gt;multi node Hadoop cluster&lt;/a&gt;.

Don&#39;t forget to # poweroff first&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;a href=&quot;http://feeds.feedburner.com/blogspot/itbleedingedge&quot; rel=&quot;alternate&quot; type=&quot;application/rss+xml&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;//feedburner.google.com/fb/images/pub/feed-icon32x32.png&quot; style=&quot;border: 0; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;http://feeds.feedburner.com/blogspot/itbleedingedge&quot; rel=&quot;alternate&quot; type=&quot;application/rss+xml&quot;&gt;Subscribe to IT Bleeding edge&lt;/a&gt;</description><link>http://itbleedingedge.blogspot.com/2013/02/for-my-holiday-project-this-year-i.html</link><author>noreply@blogger.com (Anonymous)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg83NO6Mg8yz4PodCj7_flh82wL-lGR1lSjVk5tbXQOX2WroiIYOdMWzl2QNBdDGNhmr4MCnwZLeowpTLLMsXBikyIT4kmcPfry8tOLEASM3FmVpoAwwSg3gFgA9Je2_j_Zl_1sePxCjF4/s72-c/IMG_0010.JPG" height="72" width="72"/><thr:total>0</thr:total></item></channel></rss>