Use Hive instance for giving the support of retrying incase of connection/timeout issues

Earlier we have used HCatClient instances to do ddl operations on a hcatalog table from a given database.
We maintained a pool of connections  to metastore, which will be used by all threads. 
New Approach:
We are creating Hive instance for giving the support of retrying in case of connection/timeout issues. Each service has a separate connection to metastore. Number of connections will be number of service threads.


in "updateLastAddedPartitionMap" just check if the value being put is older or newer than the value already in map and put a log stmt in case value of map is newer.