Make International Calls for Free (through Twitter)

Well well well, hit or flop.. only time will tell but a new Twitter based startup is on the horizon ..

So, you want to make free international calls.. isnt it? Aha, yes you do.. well unlike what you think there is no catch in it and I aint bribed for writing this article about twit2tel (not to mention.. why would they pay some blogger who’s got handful of readers.. and umm yes that makes you special )

Ok, so lets cut through to the real deal… to make an International Call you need to do the following:

1. Get an account on Twitter ..

2. Open and login using your Twitter account and grant Twit2Tel the necessary privileges it requires; also while you are completing your registration at Twit2Tel, do mention your mobile number (I dont know but you may not be able to register if you dont do that, so that goes in without saying.. lol )

3. You are all set .. Now get your friends to do the same… once they are also registered, all you need to do is to go to the homepage of Twit2Tel and make a call to Twitter-Id of your friend (your should find the box for that in lower right corner of the home page of Twit2Tel)

After Step3, Twit2Tel will automatically call you.. and make you hear a 10 seconds ad, and then will call the number associated with your friend’s Twitter Id. All (s)he needs to do then is accept the call and press 1 (which is the option to accept the call)

Well, thats it folks. Now enjoy a 4 minutes good voice quality call to your friend which is basically unlimited because you can make a thousand 4 minutes free call

Feel free to drop in your comments and suggestions. And hey, there is much more to Twit2tel than free calls, such as voicemail, etc! But for me, I am enjoying the free calls and care the least for the rest! Probably you may wanna explore more!

Have Fun!

Apache Hive Installation

Hive is a data warehouse infrastructure built on top of Hadoop that provides tools to enable easy data summarization, adhoc querying and analysis of large datasets data stored in Hadoop files. It provides a mechanism to put structure on this data and it also provides a simple query language called Hive QL which is based on SQL and which enables users familiar with SQL to query this data. At the same time, this language also allows traditional map/reduce programmers to be able to plug in their custom mappers and reducers to do more sophisticated analysis which may not be supported by the built-in capabilities of the language.

Installation of Hive is pretty straigtforward and easy. With least chit-chatting, I will get to business for ya!


Sun Java 6

Hadoop requires Sun Java 5.0.x. However, Hive wiki mentions a prerequisite of Sun Java 6.0. Thus we will stick to Sun Java 6.0

Hadoop (0.17.x – 0.19.x)

We must have Hadoop already up and running (support for 0.20.x is still under progress – so 0.17.x to 0.19.x is preferable)! If you don’t have Hadoop already installed for you, try and deploy it by going through the following tutorials:

Single Node Cluster Hadoop Installation:
Multi Node Cluster Hadoop Installation:

I would have written a guide for Hadoop installation, but I really find Michael’s tutorial very cool for anyone to follow and get along with Hadoop! So if you havent installed Hadoop, thats the place to learn and do it fellas!

a) For this tutorial purpose, we will be referring to a Single Node Hadoop installation


SVN aka Subversion is an open source version control system. Most of the apache projects are hosted over SVN. Thus, its a good idea to have it on your system if not already.

For the current tutorial, you will need it to grab the code out of Hive SVN Repository

Download it from:


Ant or Apache Ant is a Java-based build tool. In present context, you will need it to build the ‘checked out’ Hive code.

Download it from:

Downloading and Building Hive

Hive is available via SVN at:

We will first checkout Hive’s code

svn co hive

This will put Hive trunk’s content (Hive’s development repository) in your local ‘hive’ directory

Now, we will build the downloaded code

cd hive

ant -Dhadoop.version=”<your-hadoop-version>” package

For example

ant -Dhadoop.version=”0.19.2″ package

Your built code is now in build/dist directory

cd build/dist

On ‘ls’ you will see the following content:

bin/ (all the shell scripts)
lib/ (required jar files)
conf/ (configuration files)
examples/ (sample input and query files)

The “build/dist/” directory is your Hive Installation and moving further we are going to call it Hive Home.

Let us set an environment variable for our Hive Home too:

export HIVE_HOME=<some path>/build/dist

For example

export HIVE_HOME=/data/build/dist

Hadoop Side Changes

Hive uses hadoop that means:

1. you must have hadoop in your path OR
2. export HADOOP_HOME=<hadoop-install-dir>

In addition, you must create /tmp and /user/hive/warehouse (aka hive.metastore.warehouse.dir) and set them chmod g+w in HDFS before a table can be created in Hive.

Commands to perform these changes

$HADOOP_HOME/bin/hadoop fs -mkdir /tmp
$HADOOP_HOME/bin/hadoop fs -mkdir /user/hive/warehouse
$HADOOP_HOME/bin/hadoop fs -chmod g+w /tmp
$HADOOP_HOME/bin/hadoop fs -chmod g+w /user/hive/warehouse

Running Hive

Now, you are all set to run Hive for yourself! Invoke the command line interface (cli) from the shell:


Note: You can also read about Hive Installation at Hive’s wiki

Twitter Down? Yes It Is!


I wanted to post about .. actually tweet about a website being down.. and I ran down to Twitter.. but hey Twitter is down as well.

Well, as I write this post, the Twitter is down. Hope it get back online soon and I can tweet about “the other site” being down to my folks following me. LOL

I will let you know when its up.. or you do tell me when it is.

Have fun!

Google Lost In Recursion

Search for “recursion” on Google (without the quotes) and while showing you back the results, Google Search Engine, also suggests you : Did you mean: Recursion

So, after all your careful investigation, matching your query string against the suggestion of Google – you finally think / believe that your eyes must have lost any hidden utf-8 or yedda format character, … against which Google is trying to suggest a correct spelling. Now, you click on the suggestion. But! woha.. you get the same search results with same suggestion back again. (Recursion isnt it?)

Well like I said, you may also utter the same … it appears Google is Lost in Translation Recursion …

Create Desktop Apps. With HTML, CSS And JS: Appcelerator Titanium

Appcelerator Titanium is an open source platform that enables you to create rich desktop applications with web technologies like HTML, CSS, Javascript as well as Flash and Silverlight.

Appcelerator SDK is used to create applications or any third-party Ajax library / framework can be used too.

Tip: To make it clear, it is very similar to Adobe AIR but open source.

Appcelerator Titanium

Titanium also comes with a simple command-line interface (CLI) for creating projects and packaging them into an executable.

The platform has a built-in database, direct file system access, desktop notifications & more.

Titanium apps. currently work in Microsoft Windows and Mac OSX.  Linux support is in the roadmap.

More to follow about Titanium and some sample application / tutorial in coming posts.

Quick Start with PIG

PIG Logo

PIG Logo

What is PIG?

Pig is a platform for analyzing large data sets that consists of a high-level language for expressing data analysis programs, coupled with infrastructure for evaluating these programs. The salient property of Pig programs is that their structure is amenable to substantial parallelization, which in turns enables them to handle very large data sets.

.. read more here

The document and community support for PIG is quite good!

You can kick start reading about PIG from here: Yahoo’s Module 8

Or, Cloudera has many resources for you: Cloudera PIG’s Tutorial

Go through this video (this is from Cloudera):

I will keep you folks posted with my experiences and adventures with PIG. Stay tuned!

-Abhishek 🙂