connect to hive metastore with java