> On Nov. 15, 2012, 6:35 a.m., Mark Grover wrote:
> > trunk/metastore/scripts/upgrade/mysql/upgrade-0.9.0-to-0.10.0.mysql.sql, 
> > line 4
> > <https://reviews.apache.org/r/7941/diff/2/?file=188889#file188889line4>
> >
> >     Are the prefix numbers there to keep things sorted in the 
> > upgrade/<database> directory?
> >     
> >     If so,  (I am being nitpicky) why use 12 instead of 11? Moreover, you 
> > are using 011 as prefix in oracle directory while 012 in mysql. Should we 
> > try to be consistent?

Because when I generated the patch, there wasn't 11, but now there is. 
https://issues.apache.org/jira/browse/HIVE-3704


> On Nov. 15, 2012, 6:35 a.m., Mark Grover wrote:
> > trunk/metastore/scripts/upgrade/oracle/upgrate-0.9.0-to-0.10.0.oracle.sql, 
> > line 1
> > <https://reviews.apache.org/r/7941/diff/2/?file=188891#file188891line1>
> >
> >     Fix filename to have upgrade (instead of upgrade):-)

Will do.


> On Nov. 15, 2012, 6:35 a.m., Mark Grover wrote:
> > trunk/metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java, 
> > line 430
> > <https://reviews.apache.org/r/7941/diff/2/?file=188896#file188896line430>
> >
> >     Any particular reason why this is not abstract as well?

That doesn't make a difference. Its a method in interface. But for consistency, 
I will add abstract in there.


> On Nov. 15, 2012, 6:35 a.m., Mark Grover wrote:
> > trunk/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java, 
> > line 5310
> > <https://reviews.apache.org/r/7941/diff/2/?file=188895#file188895line5310>
> >
> >     Nitpicky: The same code to query for the token appears in addToken(), 
> > removeToken(), getToken(). Should we consider refactoring it?

Yeah, make sense. Will do.


- Ashutosh


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


On Nov. 13, 2012, 8:45 a.m., Ashutosh Chauhan wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/7941/
> -----------------------------------------------------------
> 
> (Updated Nov. 13, 2012, 8:45 a.m.)
> 
> 
> Review request for hive and Carl Steinbach.
> 
> 
> Description
> -------
> 
> DB based token store
> 
> 
> This addresses bug HIVE-3255.
>     https://issues.apache.org/jira/browse/HIVE-3255
> 
> 
> Diffs
> -----
> 
>   trunk/metastore/scripts/upgrade/derby/012-HIVE-3255.derby.sql PRE-CREATION 
>   trunk/metastore/scripts/upgrade/derby/upgrade-0.9.0-to-0.10.0.derby.sql 
> 1408480 
>   trunk/metastore/scripts/upgrade/mysql/012-HIVE-3255.mysql.sql PRE-CREATION 
>   trunk/metastore/scripts/upgrade/mysql/upgrade-0.9.0-to-0.10.0.mysql.sql 
> 1408480 
>   trunk/metastore/scripts/upgrade/oracle/012-HIVE-3255.oracle.sql 
> PRE-CREATION 
>   trunk/metastore/scripts/upgrade/oracle/upgrate-0.9.0-to-0.10.0.oracle.sql 
> PRE-CREATION 
>   trunk/metastore/scripts/upgrade/postgres/012-HIVE-3255.postgres.sql 
> PRE-CREATION 
>   
> trunk/metastore/scripts/upgrade/postgres/upgrade-0.9.0-to-0.10.0.postgres.sql 
> 1408480 
>   
> trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java 
> 1408480 
>   trunk/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java 
> 1408480 
>   trunk/metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java 
> 1408480 
>   
> trunk/metastore/src/model/org/apache/hadoop/hive/metastore/model/MDelegationToken.java
>  PRE-CREATION 
>   
> trunk/metastore/src/model/org/apache/hadoop/hive/metastore/model/MMasterKey.java
>  PRE-CREATION 
>   trunk/metastore/src/model/package.jdo 1408480 
>   
> trunk/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java
>  1408480 
>   
> trunk/shims/src/common-secure/java/org/apache/hadoop/hive/thrift/DBTokenStore.java
>  PRE-CREATION 
>   
> trunk/shims/src/common-secure/java/org/apache/hadoop/hive/thrift/DelegationTokenStore.java
>  1408480 
>   
> trunk/shims/src/common-secure/java/org/apache/hadoop/hive/thrift/HadoopThriftAuthBridge20S.java
>  1408480 
>   
> trunk/shims/src/common-secure/java/org/apache/hadoop/hive/thrift/MemoryTokenStore.java
>  1408480 
>   
> trunk/shims/src/common-secure/java/org/apache/hadoop/hive/thrift/ZooKeeperTokenStore.java
>  1408480 
>   
> trunk/shims/src/common-secure/test/org/apache/hadoop/hive/thrift/TestDBTokenStore.java
>  PRE-CREATION 
>   
> trunk/shims/src/common/java/org/apache/hadoop/hive/thrift/HadoopThriftAuthBridge.java
>  1408480 
> 
> Diff: https://reviews.apache.org/r/7941/diff/
> 
> 
> Testing
> -------
> 
> Includes unit test
> 
> 
> Thanks,
> 
> Ashutosh Chauhan
> 
>

Reply via email to