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
ashutoshc, navis
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
- 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.