I am trying to run a Map Reduce job on CDH 5.3 which internally uses HiveMetaStoreCleint. The HiveMetaStore is kerberos security enabled. The HiveConf has the required properties set:
I am not able to create Instance of HiveMetaStoreClient. I am getting Exception "GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)"
Any guidance in this direction?
I have one more question regarding hive metastore connection. Same as map reduce can we connect metastore in Hive UDF? What things needed to connect to metastore in hive UDF?