-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/10945/
-----------------------------------------------------------

Review request for hive, Ashutosh Chauhan and Navis Ryu.


Description
-------

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.


This addresses bug HIVE-4505.
    https://issues.apache.org/jira/browse/HIVE-4505


Diffs
-----

  common/src/java/org/apache/hadoop/hive/conf/HiveConf.java 5c1b283 
  ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java d8c91bd 
  service/src/java/org/apache/hive/service/cli/session/HiveSessionImpl.java 
8f0adb5 

Diff: https://reviews.apache.org/r/10945/diff/


Testing
-------


Thanks,

Prasad Mujumdar

Reply via email to