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-4588:  Support session level hooks for HiveServer2


Copy link to this message
-
Review Request: HIVE-4588:  Support session level hooks for HiveServer2
Prasad Mujumdar 2013-05-22, 06:41

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

Review request for hive.
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
This addresses bug HIVE-4588.
    https://issues.apache.org/jira/browse/HIVE-4588
Diffs
-----

  common/src/java/org/apache/hadoop/hive/conf/HiveConf.java 335af45
  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