diff --git common/src/test/org/apache/hadoop/hive/conf/TestHiveConf.java common/src/test/org/apache/hadoop/hive/conf/TestHiveConf.java index 3b7a525..5e811dd 100644 --- common/src/test/org/apache/hadoop/hive/conf/TestHiveConf.java +++ common/src/test/org/apache/hadoop/hive/conf/TestHiveConf.java @@ -82,7 +82,6 @@ public void testConfProperties() throws Exception { // ConfVar overridden in in hive-site.xml checkHadoopConf(ConfVars.METASTORE_CONNECTION_DRIVER.varname, null); checkConfVar(ConfVars.METASTORE_CONNECTION_DRIVER, "org.apache.derby.jdbc.EmbeddedDriver"); - checkHiveConf(ConfVars.METASTORE_CONNECTION_DRIVER.varname, "hive-site.xml"); // Property defined in hive-site.xml only checkHadoopConf("test.property1", null); diff --git common/src/test/resources/hive-site.xml common/src/test/resources/hive-site.xml index 0d5c834..7ca66ae 100644 --- common/src/test/resources/hive-site.xml +++ common/src/test/resources/hive-site.xml @@ -20,23 +20,26 @@ - - - javax.jdo.option.ConnectionDriverName - hive-site.xml - Override ConfVar defined in HiveConf - - - - test.property1 - hive-site.xml - Test property defined in hive-site.xml only - - - - test.var.hiveconf.property - ${hive.exec.default.partition.name} - Test hiveconf property substitution - - + + test.property1 + hive-site.xml + Test property defined in hive-site.xml only + + + test.var.hiveconf.property + ${hive.exec.default.partition.name} + Test hiveconf property substitution + + + datanucleus.autoCreateSchema + true + + + datanucleus.fixedDatastore + false + + + hive.metastore.schema.verification + false +