make hive query faster with fetch task

There are many tasks in Hive, FetchTask is one of the most efficient tasks. It directly goes to the file and give the result rather than start a mapReduce job for the incoming query. For simple queries like¬†select * with limit, it is very fast(single digit seconds level).¬†In this case hive can return the results…