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




itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/TestHiveMetaStoreAlterColumnPar.java
Lines 107 (patched)
<https://reviews.apache.org/r/63586/#comment267835>

    It is generally tidier to use the try-with-resources to close statements 
and connections. Older code doesn't always use this but we should probably make 
new code use it whenever possible.


- Andrew Sherman


On Nov. 7, 2017, 9:19 p.m., Janaki Lahorani wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/63586/
> -----------------------------------------------------------
> 
> (Updated Nov. 7, 2017, 9:19 p.m.)
> 
> 
> Review request for hive, Alexander Kolbasov, Andrew Sherman, Sahil Takiar, 
> and Vihang Karajgaonkar.
> 
> 
> Repository: hive-git
> 
> 
> Description
> -------
> 
> HMS handler thread local will have the configuration changes from the user 
> local only to that connection.  HiveAlterHandler should use the thread local 
> to pick up user's configuration changes.
> 
> 
> Diffs
> -----
> 
>   
> itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/TestHiveMetaStoreAlterColumnPar.java
>  PRE-CREATION 
>   
> standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveAlterHandler.java
>  ccadac1ada6aaae884ab39f5d99e91b8c542404e 
> 
> 
> Diff: https://reviews.apache.org/r/63586/diff/3/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Janaki Lahorani
> 
>

Reply via email to