Description
HIVE-5133 adds support for secure metastore access using delegation tokens. This is needed for example when a pig job is submitted via WebHcat, and the Pig script uses HCat, which has to access metadata and thus the metastore.
When the job is complete the delegation token should be cancelled. HIVE-5133 implements it as an OutputCommitter but this requires relevant jars to be shipped to the node where TempletonControllerJob is run. This makes configuration more difficult.
Since Hive (and thus all the necessary jars for token cancellation) must be installed on the same node where WebHCat is running, the token can be cancelled from WebHCat when it receives a callback from Hadoop that the job is finished. Thus no additional jars need to be shipped anywhere.
Attachments
Attachments
Issue Links
- is related to
-
HIVE-5133 webhcat jobs that need to access metastore fails in secure mode
- Resolved