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.


We should not consider as failure case. If it is not able to get the date from the hcat/hive partition(in case of parseException) then it assumes last added value is empty. It is most likely unreachable code(dead code).