Review Board 1.7.22


DB based token store

Review Request #7941 - Created Nov. 8, 2012 and updated

Ashutosh Chauhan
trunk
HIVE-3255
Reviewers
hive
carl
hive
DB based token store
Includes unit test

Diff revision 3 (Latest)

1 2 3
1 2 3

  1. trunk/metastore/scripts/upgrade/derby/012-HIVE-3255.derby.sql: Loading...
  2. trunk/metastore/scripts/upgrade/derby/hive-schema-0.10.0.derby.sql: Loading...
  3. trunk/metastore/scripts/upgrade/derby/upgrade-0.9.0-to-0.10.0.derby.sql: Loading...
  4. trunk/metastore/scripts/upgrade/mysql/012-HIVE-3255.mysql.sql: Loading...
  5. trunk/metastore/scripts/upgrade/mysql/hive-schema-0.10.0.mysql.sql: Loading...
  6. trunk/metastore/scripts/upgrade/mysql/upgrade-0.9.0-to-0.10.0.mysql.sql: Loading...
  7. trunk/metastore/scripts/upgrade/oracle/012-HIVE-3255.oracle.sql: Loading...
  8. trunk/metastore/scripts/upgrade/oracle/hive-schema-0.10.0.oracle.sql: Loading...
  9. trunk/metastore/scripts/upgrade/oracle/upgrade-0.9.0-to-0.10.0.oracle.sql: Loading...
  10. trunk/metastore/scripts/upgrade/postgres/012-HIVE-3255.postgres.sql: Loading...
  11. trunk/metastore/scripts/upgrade/postgres/hive-schema-0.10.0.postgres.sql: Loading...
  12. trunk/metastore/scripts/upgrade/postgres/upgrade-0.9.0-to-0.10.0.postgres.sql: Loading...
  13. trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java: Loading...
  14. trunk/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java: Loading...
  15. trunk/metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java: Loading...
  16. trunk/metastore/src/model/package.jdo: Loading...
  17. trunk/metastore/src/model/org/apache/hadoop/hive/metastore/model/MDelegationToken.java: Loading...
  18. trunk/metastore/src/model/org/apache/hadoop/hive/metastore/model/MMasterKey.java: Loading...
  19. trunk/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java: Loading...
  20. trunk/shims/src/common-secure/java/org/apache/hadoop/hive/thrift/DBTokenStore.java: Loading...
  21. trunk/shims/src/common-secure/java/org/apache/hadoop/hive/thrift/DelegationTokenStore.java: Loading...
  22. trunk/shims/src/common-secure/java/org/apache/hadoop/hive/thrift/HadoopThriftAuthBridge20S.java: Loading...
  23. trunk/shims/src/common-secure/java/org/apache/hadoop/hive/thrift/MemoryTokenStore.java: Loading...
  24. trunk/shims/src/common-secure/java/org/apache/hadoop/hive/thrift/ZooKeeperTokenStore.java: Loading...
  25. trunk/shims/src/common-secure/test/org/apache/hadoop/hive/thrift/TestDBTokenStore.java: Loading...
  26. trunk/shims/src/common/java/org/apache/hadoop/hive/thrift/HadoopThriftAuthBridge.java: Loading...
trunk/metastore/scripts/upgrade/derby/012-HIVE-3255.derby.sql
New File

    
   
1
--

    
   
2
-- HIVE-3255 Storing Delegation tokens in Metastore

    
   
3
--

    
   
4

   

    
   
5
-- Table MASTER_KEYS for classes [org.apache.hadoop.hive.metastore.model.MMasterKey]

    
   
6
CREATE TABLE  MASTER_KEYS

    
   
7
(

    
   
8
    KEY_ID INTEGER NOT NULL generated always as identity (start with 1),

    
   
9
    MASTER_KEY VARCHAR(767)

    
   
10
);

    
   
11

   

    
   
12
-- Table DELEGATION_TOKENS for classes [org.apache.hadoop.hive.metastore.model.MDelegationToken]

    
   
13
CREATE TABLE  DELEGATION_TOKENS

    
   
14
(

    
   
15
    TOKEN_IDENT VARCHAR(767) NOT NULL,

    
   
16
    TOKEN VARCHAR(767)

    
   
17
);
trunk/metastore/scripts/upgrade/derby/hive-schema-0.10.0.derby.sql
Revision 1409909 New Change
 
trunk/metastore/scripts/upgrade/derby/upgrade-0.9.0-to-0.10.0.derby.sql
Revision 1409909 New Change
 
trunk/metastore/scripts/upgrade/mysql/012-HIVE-3255.mysql.sql
New File
 
trunk/metastore/scripts/upgrade/mysql/hive-schema-0.10.0.mysql.sql
Revision 1409909 New Change
 
trunk/metastore/scripts/upgrade/mysql/upgrade-0.9.0-to-0.10.0.mysql.sql
Revision 1409909 New Change
 
trunk/metastore/scripts/upgrade/oracle/012-HIVE-3255.oracle.sql
New File
 
trunk/metastore/scripts/upgrade/oracle/hive-schema-0.10.0.oracle.sql
Revision 1409909 New Change
 
trunk/metastore/scripts/upgrade/oracle/upgrade-0.9.0-to-0.10.0.oracle.sql
New File
 
trunk/metastore/scripts/upgrade/postgres/012-HIVE-3255.postgres.sql
New File
 
trunk/metastore/scripts/upgrade/postgres/hive-schema-0.10.0.postgres.sql
Revision 1409909 New Change
 
trunk/metastore/scripts/upgrade/postgres/upgrade-0.9.0-to-0.10.0.postgres.sql
Revision 1409909 New Change
 
trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
Revision 1409909 New Change
 
trunk/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java
Revision 1409909 New Change
 
trunk/metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java
Revision 1409909 New Change
 
trunk/metastore/src/model/package.jdo
Revision 1409909 New Change
 
trunk/metastore/src/model/org/apache/hadoop/hive/metastore/model/MDelegationToken.java
New File
 
trunk/metastore/src/model/org/apache/hadoop/hive/metastore/model/MMasterKey.java
New File
 
trunk/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java
Revision 1409909 New Change
 
trunk/shims/src/common-secure/java/org/apache/hadoop/hive/thrift/DBTokenStore.java
New File
 
trunk/shims/src/common-secure/java/org/apache/hadoop/hive/thrift/DelegationTokenStore.java
Revision 1409909 New Change
 
trunk/shims/src/common-secure/java/org/apache/hadoop/hive/thrift/HadoopThriftAuthBridge20S.java
Revision 1409909 New Change
 
trunk/shims/src/common-secure/java/org/apache/hadoop/hive/thrift/MemoryTokenStore.java
Revision 1409909 New Change
 
trunk/shims/src/common-secure/java/org/apache/hadoop/hive/thrift/ZooKeeperTokenStore.java
Revision 1409909 New Change
 
trunk/shims/src/common-secure/test/org/apache/hadoop/hive/thrift/TestDBTokenStore.java
New File
 
trunk/shims/src/common/java/org/apache/hadoop/hive/thrift/HadoopThriftAuthBridge.java
Revision 1409909 New Change
 
  1. trunk/metastore/scripts/upgrade/derby/012-HIVE-3255.derby.sql: Loading...
  2. trunk/metastore/scripts/upgrade/derby/hive-schema-0.10.0.derby.sql: Loading...
  3. trunk/metastore/scripts/upgrade/derby/upgrade-0.9.0-to-0.10.0.derby.sql: Loading...
  4. trunk/metastore/scripts/upgrade/mysql/012-HIVE-3255.mysql.sql: Loading...
  5. trunk/metastore/scripts/upgrade/mysql/hive-schema-0.10.0.mysql.sql: Loading...
  6. trunk/metastore/scripts/upgrade/mysql/upgrade-0.9.0-to-0.10.0.mysql.sql: Loading...
  7. trunk/metastore/scripts/upgrade/oracle/012-HIVE-3255.oracle.sql: Loading...
  8. trunk/metastore/scripts/upgrade/oracle/hive-schema-0.10.0.oracle.sql: Loading...
  9. trunk/metastore/scripts/upgrade/oracle/upgrade-0.9.0-to-0.10.0.oracle.sql: Loading...
  10. trunk/metastore/scripts/upgrade/postgres/012-HIVE-3255.postgres.sql: Loading...
  11. trunk/metastore/scripts/upgrade/postgres/hive-schema-0.10.0.postgres.sql: Loading...
  12. trunk/metastore/scripts/upgrade/postgres/upgrade-0.9.0-to-0.10.0.postgres.sql: Loading...
  13. trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java: Loading...
  14. trunk/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java: Loading...
  15. trunk/metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java: Loading...
  16. trunk/metastore/src/model/package.jdo: Loading...
  17. trunk/metastore/src/model/org/apache/hadoop/hive/metastore/model/MDelegationToken.java: Loading...
  18. trunk/metastore/src/model/org/apache/hadoop/hive/metastore/model/MMasterKey.java: Loading...
  19. trunk/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java: Loading...
  20. trunk/shims/src/common-secure/java/org/apache/hadoop/hive/thrift/DBTokenStore.java: Loading...
  21. trunk/shims/src/common-secure/java/org/apache/hadoop/hive/thrift/DelegationTokenStore.java: Loading...
  22. trunk/shims/src/common-secure/java/org/apache/hadoop/hive/thrift/HadoopThriftAuthBridge20S.java: Loading...
  23. trunk/shims/src/common-secure/java/org/apache/hadoop/hive/thrift/MemoryTokenStore.java: Loading...
  24. trunk/shims/src/common-secure/java/org/apache/hadoop/hive/thrift/ZooKeeperTokenStore.java: Loading...
  25. trunk/shims/src/common-secure/test/org/apache/hadoop/hive/thrift/TestDBTokenStore.java: Loading...
  26. trunk/shims/src/common/java/org/apache/hadoop/hive/thrift/HadoopThriftAuthBridge.java: Loading...