Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # dev >> Review Request: HIVE-4546: Hive CLI leaves behind the per session resource directory on non-interactive invocation


Copy link to this message
-
Review Request: HIVE-4546: Hive CLI leaves behind the per session resource directory on non-interactive invocation

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

Review request for hive, Owen O'Malley and Gunther Hagleitner.
Description
-------

Hive CLI leaves behind the per session resource directory on non-interactive invocation. The patch includes executing session state close() at the end of non-interactive invocation.
Also changed the session id format to be a UUID. This is avoid possible resource directory path conflict when there are multiple session HiveServer2 from same user at same time.
This addresses bug HIVE-4546.
    https://issues.apache.org/jira/browse/HIVE-4546
Diffs
-----

  cli/src/java/org/apache/hadoop/hive/cli/CliDriver.java 4239392
  ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java 8e6e24a

Diff: https://reviews.apache.org/r/11083/diff/
Testing
-------
Thanks,

Prasad Mujumdar