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



common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
<https://reviews.apache.org/r/2833/#comment7289>

    Typo. Default value is 9083, not 9803.



metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
<https://reviews.apache.org/r/2833/#comment7290>

    Why are you recreating HiveConf object here ?


- Ashutosh


On 2011-11-15 15:19:49, iryoung jeong wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/2833/
> -----------------------------------------------------------
> 
> (Updated 2011-11-15 15:19:49)
> 
> 
> Review request for hive and Carl Steinbach.
> 
> 
> Summary
> -------
> 
> There're 3 ways to set port now - using default port, from cli(-p or old 
> style), HIVE_PORT/METASTORE_PORT system env.
> And after this issue is fixed, there'll be another way to configure port.
> 
> So, it's necessary cleaning up these.
> 
> Previous setting port precedence looks like this "default port < system env < 
> CLI option"
> (if higher one is set, then use it)
> 
> and, now it'll be "default port < system env < HiveConf < CLI option"
> 
> IMO, all other settings should be finally collected into a HiveConf object. 
> So I implemented this way for HiveMetaStore.
> 
> But in HiveServer, some configurations are only available through CLI 
> options, so I chose applying port number from HiveConf to previous CLI 
> object.(which is required minimum code change, and I thought moving other 
> settings to HiveConf is out of scope of this issue)
> 
> 
> This addresses bug HIVE-2489.
>     https://issues.apache.org/jira/browse/HIVE-2489
> 
> 
> Diffs
> -----
> 
>   shims/src/test/org/apache/hadoop/hive/thrift/TestHadoop20SAuthBridge.java 
> aadb34d 
>   common/src/java/org/apache/hadoop/hive/conf/HiveConf.java 2a52fd1 
>   metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java 
> ffce4fe 
>   metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreUtils.java 
> cd533b6 
>   
> metastore/src/test/org/apache/hadoop/hive/metastore/TestMetaStoreAuthorization.java
>  a089269 
>   service/src/java/org/apache/hadoop/hive/service/HiveServer.java a2d599f 
> 
> Diff: https://reviews.apache.org/r/2833/diff
> 
> 
> Testing
> -------
> 
> previous tests passed
> 
> 
> Thanks,
> 
> iryoung
> 
>

Reply via email to