Review Board 1.7.22


HIVE-4505: Hive can't load transforms added using 'ADD FILE'

Review Request #10945 - Created May 6, 2013 and updated

Prasad Mujumdar
hive-11
HIVE-4505
Reviewers
hive
ashutoshc, navis
hive-git
This patch provides addional options for users to configure the resource dir in order to avoid conflicts, instead of renaming the files.
- revert HIVE-3431
- Store the hiveserver2 session handle in the config so that it can be used for the resource directory setting. eg
<property>
  <name>hive.downloaded.resources.dir</name>
  <value>/tmp/resource_dir/${hive.server2.session}</value>
</property>
- support removing the resource directory at the end of the session.

One can configure the resource dir based on the session id or hiveserver2 session handle to avoid multiple users trying to use common resource directory.