Apache Hadoop on Mac OS X

Hadoop
For some reasons I started to play with Apache Hadoop (Core):

Hadoop is a software platform that lets one easily write and run applications that process vast amounts of data.

Here’s what makes Hadoop especially useful:

  • Scalable: Hadoop can reliably store and process petabytes.
  • Economical: It distributes the data and processing across clusters of commonly available computers. These clusters can number into the thousands of nodes.
  • Efficient: By distributing the data, Hadoop can process it in parallel on the nodes where the data is located. This makes it extremely rapid.
  • Reliable: Hadoop automatically maintains multiple copies of data and automatically redeploys computing tasks based on failures.

Hadoop implements MapReduce, using the Hadoop Distributed File System (HDFS). MapReduce divides applications into many small blocks of work. HDFS creates multiple replicas of data blocks for reliability, placing them on compute nodes around the cluster. MapReduce can then process the data where it is located.

Hadoop has been demonstrated on clusters with 2000 nodes. The current design target is 10,000 node clusters.

I followed the Quickstart guide and I can confirm that it works on Mac OS X too, but I managed only to make it run in “standalone” mode: usefull for first-stage development and debugging.
Continue…

First Official iPhone SDK Interface Builder Tutorial

I received this letter from Apple this morning:

iPhone SDK - new release

Log in to the iPhone Dev Center and download the third beta version of the iPhone SDK.

Make sure to take advantage of all the development resources available to you in the iPhone Dev Center, including updated documentation such as the iPhone OS Programming Guide, a new tutorial for creating iPhone applications using Interface Builder, and the latest release notes.

I did so (later on) and I followed the full tutorial.
Finally!!!
Now I can use properly Interface Builder for my needs: programming using UIKit is quite difficult on the View side. Instead, using Interface Builder is quite easy to just follow the well known MVC Design Pattern.

Just a little thing to take care: in the sections “The sayHello: Method” and “The String” the tutorial suggest the usage of this “string” object as it is part of the “MyViewController” class. Get rid of it. It’s useless and if you try to compile the code with it, it will give you an “undefined reference” error.
How? If you can’t do that on your own, why are you still reading me? :P