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

Switch to Threaded View
Hive, mail # dev - Re: Review Request 11326: HIVE-4588: Support session level hooks for HiveServer2


Copy link to this message
-
Re: Review Request 11326: HIVE-4588: Support session level hooks for HiveServer2
Prasad Mujumdar 2013-08-01, 07:12

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

(Updated Aug. 1, 2013, 7:12 a.m.)
Review request for hive.
Changes
-------

Revision 2 was created with wrong git hash. Updated correct diff with rebased patch.
Bugs: HIVE-4588
    https://issues.apache.org/jira/browse/HIVE-4588
Repository: hive-git
Description
-------

Support session level hooks for HiveServer2
  - New config parameter to define the hook
  - New hook context interface to pass the serssion user and config to the hook implementation
  - Session manager executes the configured hooks when a new session starts
Diffs (updated)
-----

  common/src/java/org/apache/hadoop/hive/conf/HiveConf.java cb59560
  service/src/java/org/apache/hive/service/cli/session/HiveSessionHook.java PRE-CREATION
  service/src/java/org/apache/hive/service/cli/session/HiveSessionHookContext.java PRE-CREATION
  service/src/java/org/apache/hive/service/cli/session/HiveSessionHookContextImpl.java PRE-CREATION
  service/src/java/org/apache/hive/service/cli/session/SessionManager.java 3bb6807
  service/src/test/org/apache/hive/service/cli/session/TestSessionHooks.java PRE-CREATION

Diff: https://reviews.apache.org/r/11326/diff/
Testing
-------

Added new test for session hooks
Thanks,

Prasad Mujumdar