hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasad Mujumdar" <>
Subject Review Request 14056: HIVE-5246: Local task for map join submitted via oozie job fails on a secure HDFS
Date Tue, 10 Sep 2013 02:25:59 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for hive, Gunther Hagleitner and Thejas Nair.

Bugs: HIVE-5246

Repository: hive-git


For a Hive query started by Oozie Hive action, the local task submitted for Mapjoin fails.
The HDFS delegation token is not shared properly with the child JVM created for the local
Oozie creates a delegation token for the Hive action and sets env variable HADOOP_TOKEN_FILE_LOCATION
as well as mapreduce.job.credentials.binary config property. However this doesn't get passed
down to the child JVM which causes the problem.

This patch is modifying HIVE-4343 to load the token file path from env variable which will
be set for both HiveServer2 (by original HIVE-4343 patch) as well as Oozie.


  ql/src/java/org/apache/hadoop/hive/ql/exec/ 8124639 
  ql/src/java/org/apache/hadoop/hive/ql/exec/mr/ 4cc7129 
  ql/src/java/org/apache/hadoop/hive/ql/exec/mr/ 341154d 



A test application attached to the ticket (
that simulates oozie behavior.
Manually tested HS2 to verify that it doesn't regress HIVE-4343


Prasad Mujumdar

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message