Review Board 1.7.22


HIVE-1943

Review Request #586 - Created April 12, 2011 and updated

Devaraj Das
trunk
HIVE-1943
Reviewers
hive
hive
This is a patch to handle the issue described in HIVE-1943
Unit tests added.
http://svn.apache.org/repos/asf/hive/trunk/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
Revision 1090038 New Change
[20] 82 lines
[+20] [+] public class HiveConf extends Configuration {
83
      HiveConf.ConfVars.METASTORE_TRANSACTION_ISOLATION,
83
      HiveConf.ConfVars.METASTORE_TRANSACTION_ISOLATION,
84
      HiveConf.ConfVars.METASTORE_CACHE_LEVEL2,
84
      HiveConf.ConfVars.METASTORE_CACHE_LEVEL2,
85
      HiveConf.ConfVars.METASTORE_CACHE_LEVEL2_TYPE,
85
      HiveConf.ConfVars.METASTORE_CACHE_LEVEL2_TYPE,
86
      HiveConf.ConfVars.METASTORE_IDENTIFIER_FACTORY,
86
      HiveConf.ConfVars.METASTORE_IDENTIFIER_FACTORY,
87
      HiveConf.ConfVars.METASTORE_PLUGIN_REGISTRY_BUNDLE_CHECK,
87
      HiveConf.ConfVars.METASTORE_PLUGIN_REGISTRY_BUNDLE_CHECK,

    
   
88
      HiveConf.ConfVars.METASTORE_AUTHORIZATION_STORAGE_AUTH_CHECKS,
88
      };
89
      };
89

    
   
90

   
90
  /**
91
  /**
91
   * dbVars are the parameters can be set per database. If these
92
   * dbVars are the parameters can be set per database. If these
92
   * parameters are set as a database property, when switching to that
93
   * parameters are set as a database property, when switching to that
[+20] [20] 119 lines
[+20] public class HiveConf extends Configuration {
212
    METASTORE_CACHE_LEVEL2("datanucleus.cache.level2", false),
213
    METASTORE_CACHE_LEVEL2("datanucleus.cache.level2", false),
213
    METASTORE_CACHE_LEVEL2_TYPE("datanucleus.cache.level2.type", "SOFT"),
214
    METASTORE_CACHE_LEVEL2_TYPE("datanucleus.cache.level2.type", "SOFT"),
214
    METASTORE_IDENTIFIER_FACTORY("datanucleus.identifierFactory", "datanucleus"),
215
    METASTORE_IDENTIFIER_FACTORY("datanucleus.identifierFactory", "datanucleus"),
215
    METASTORE_PLUGIN_REGISTRY_BUNDLE_CHECK("datanucleus.plugin.pluginRegistryBundleCheck", "LOG"),
216
    METASTORE_PLUGIN_REGISTRY_BUNDLE_CHECK("datanucleus.plugin.pluginRegistryBundleCheck", "LOG"),
216
    METASTORE_BATCH_RETRIEVE_MAX("hive.metastore.batch.retrieve.max", 300),
217
    METASTORE_BATCH_RETRIEVE_MAX("hive.metastore.batch.retrieve.max", 300),

    
   
218
    // should we do checks against the storage (usually hdfs) for operations like drop_partition

    
   
219
    METASTORE_AUTHORIZATION_STORAGE_AUTH_CHECKS("hive.metastore.authorization.storage.checks", false),
217

    
   
220

   
218

    
   
221

   
219
    // Default parameters for creating tables
222
    // Default parameters for creating tables
220
    NEWTABLEDEFAULTPARA("hive.table.parameters.default",""),
223
    NEWTABLEDEFAULTPARA("hive.table.parameters.default",""),
221

    
   
224

   
[+20] [20] 510 lines
http://svn.apache.org/repos/asf/hive/trunk/conf/hive-default.xml
Revision 1090038 New Change
 
http://svn.apache.org/repos/asf/hive/trunk/metastore/build.xml
Revision 1090038 New Change
 
http://svn.apache.org/repos/asf/hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
Revision 1090038 New Change
 
http://svn.apache.org/repos/asf/hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreUtils.java
Revision 1090038 New Change
 
http://svn.apache.org/repos/asf/hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/Warehouse.java
Revision 1090038 New Change
 
http://svn.apache.org/repos/asf/hive/trunk/metastore/src/test/org/apache/hadoop/hive/metastore/TestMetaStoreAuthorization.java
New File
 
http://svn.apache.org/repos/asf/hive/trunk/shims/src/0.20/java/org/apache/hadoop/hive/shims/Hadoop20Shims.java
Revision 1090038 New Change
 
http://svn.apache.org/repos/asf/hive/trunk/shims/src/0.20S/java/org/apache/hadoop/hive/shims/Hadoop20SShims.java
Revision 1090038 New Change
 
http://svn.apache.org/repos/asf/hive/trunk/shims/src/common/java/org/apache/hadoop/hive/shims/HadoopShims.java
Revision 1090038 New Change
 
http://svn.apache.org/repos/asf/hive/trunk/shims/src/test/org/apache/hadoop/hive/thrift/TestHadoop20SAuthBridge.java
Revision 1090038 New Change
 
  1. http://svn.apache.org/repos/asf/hive/trunk/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java: Loading...
  2. http://svn.apache.org/repos/asf/hive/trunk/conf/hive-default.xml: Loading...
  3. http://svn.apache.org/repos/asf/hive/trunk/metastore/build.xml: Loading...
  4. http://svn.apache.org/repos/asf/hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java: Loading...
  5. http://svn.apache.org/repos/asf/hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreUtils.java: Loading...
  6. http://svn.apache.org/repos/asf/hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/Warehouse.java: Loading...
  7. http://svn.apache.org/repos/asf/hive/trunk/metastore/src/test/org/apache/hadoop/hive/metastore/TestMetaStoreAuthorization.java: Loading...
  8. http://svn.apache.org/repos/asf/hive/trunk/shims/src/0.20/java/org/apache/hadoop/hive/shims/Hadoop20Shims.java: Loading...
  9. http://svn.apache.org/repos/asf/hive/trunk/shims/src/0.20S/java/org/apache/hadoop/hive/shims/Hadoop20SShims.java: Loading...
  10. http://svn.apache.org/repos/asf/hive/trunk/shims/src/common/java/org/apache/hadoop/hive/shims/HadoopShims.java: Loading...
  11. http://svn.apache.org/repos/asf/hive/trunk/shims/src/test/org/apache/hadoop/hive/thrift/TestHadoop20SAuthBridge.java: Loading...