Added MapWritableComparable.

select statement now works for hive map-reduce local mode only. This is set on hive using 
hive> SET mapred.job.tracker=local;