> On Aug. 22, 2013, 8:38 a.m., Navis Ryu wrote:
> > ql/src/java/org/apache/hadoop/hive/ql/Driver.java, line 429
> > <https://reviews.apache.org/r/11326/diff/4/?file=343829#file343829line429>
> >
> >     This is not related to this issue, but would it be better to use 
> > interface (HiveSemanticAnalyzerHook)?

yes. 
updated the patch to take case of that issue as well.


- Prasad


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


On Aug. 22, 2013, 8:03 a.m., Prasad Mujumdar wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/11326/
> -----------------------------------------------------------
> 
> (Updated Aug. 22, 2013, 8:03 a.m.)
> 
> 
> Review request for hive and Navis Ryu.
> 
> 
> 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
> -----
> 
>   common/src/java/org/apache/hadoop/hive/conf/HiveConf.java 0b4dad9 
>   ql/src/java/org/apache/hadoop/hive/ql/Driver.java 3312b3b 
>   ql/src/java/org/apache/hadoop/hive/ql/hooks/HookUtils.java PRE-CREATION 
>   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
> 
>

Reply via email to