diff --git a/data/conf/hive-site.xml b/data/conf/hive-site.xml
index d504e17f54..1c49da5476 100644
--- a/data/conf/hive-site.xml
+++ b/data/conf/hive-site.xml
@@ -69,6 +69,11 @@
true
+
+ datanucleus.connectionPool.maxPoolSize
+ 4
+
+
hive.metastore.schema.verification
false
diff --git a/data/conf/llap/hive-site.xml b/data/conf/llap/hive-site.xml
index ecb3467021..102b6210a3 100644
--- a/data/conf/llap/hive-site.xml
+++ b/data/conf/llap/hive-site.xml
@@ -79,6 +79,11 @@
true
+
+ datanucleus.connectionPool.maxPoolSize
+ 4
+
+
hive.metastore.schema.verification
false
@@ -86,7 +91,7 @@
javax.jdo.option.ConnectionURL
- jdbc:derby:;databaseName=${test.tmp.dir}/junit_metastore_db;create=true
+ jdbc:derby:memory:${test.tmp.dir}/junit_metastore_db;create=true
diff --git a/data/conf/perf-reg/spark/hive-site.xml b/data/conf/perf-reg/spark/hive-site.xml
index 15ec63048e..028f612e6e 100644
--- a/data/conf/perf-reg/spark/hive-site.xml
+++ b/data/conf/perf-reg/spark/hive-site.xml
@@ -48,6 +48,11 @@
false
+
+ datanucleus.connectionPool.maxPoolSize
+ 4
+
+
hive.metastore.schema.verification
false
@@ -61,7 +66,7 @@
javax.jdo.option.ConnectionURL
- jdbc:derby:;databaseName=${test.tmp.dir}/junit_metastore_db;create=true
+ jdbc:derby:memory:${test.tmp.dir}/junit_metastore_db;create=true
diff --git a/data/conf/perf-reg/tez/hive-site.xml b/data/conf/perf-reg/tez/hive-site.xml
index 2951f30531..ab945f5f95 100644
--- a/data/conf/perf-reg/tez/hive-site.xml
+++ b/data/conf/perf-reg/tez/hive-site.xml
@@ -72,6 +72,11 @@
false
+
+ datanucleus.connectionPool.maxPoolSize
+ 4
+
+
hive.metastore.schema.verification
false
@@ -85,7 +90,7 @@
javax.jdo.option.ConnectionURL
- jdbc:derby:;databaseName=${test.tmp.dir}/junit_metastore_db;create=true
+ jdbc:derby:memory:${test.tmp.dir}/junit_metastore_db;create=true
diff --git a/data/conf/rlist/hive-site.xml b/data/conf/rlist/hive-site.xml
index 630e481edc..48c5653fa9 100644
--- a/data/conf/rlist/hive-site.xml
+++ b/data/conf/rlist/hive-site.xml
@@ -63,6 +63,11 @@
true
+
+ datanucleus.connectionPool.maxPoolSize
+ 4
+
+
hive.metastore.schema.verification
false
diff --git a/data/conf/spark/local/hive-site.xml b/data/conf/spark/local/hive-site.xml
index a56ce61785..4841f8a5df 100644
--- a/data/conf/spark/local/hive-site.xml
+++ b/data/conf/spark/local/hive-site.xml
@@ -49,6 +49,11 @@
true
+
+ datanucleus.connectionPool.maxPoolSize
+ 4
+
+
hive.metastore.schema.verification
false
@@ -56,7 +61,7 @@
javax.jdo.option.ConnectionURL
- jdbc:derby:;databaseName=${test.tmp.dir}/junit_metastore_db;create=true
+ jdbc:derby:memory:${test.tmp.dir}/junit_metastore_db;create=true
diff --git a/data/conf/spark/standalone/hive-site.xml b/data/conf/spark/standalone/hive-site.xml
index 27cbd07db2..e882cd695a 100644
--- a/data/conf/spark/standalone/hive-site.xml
+++ b/data/conf/spark/standalone/hive-site.xml
@@ -49,6 +49,11 @@
true
+
+ datanucleus.connectionPool.maxPoolSize
+ 4
+
+
hive.metastore.schema.verification
false
@@ -56,7 +61,7 @@
javax.jdo.option.ConnectionURL
- jdbc:derby:;databaseName=${test.tmp.dir}/junit_metastore_db;create=true
+ jdbc:derby:memory:${test.tmp.dir}/junit_metastore_db;create=true
diff --git a/data/conf/spark/yarn-cluster/hive-site.xml b/data/conf/spark/yarn-cluster/hive-site.xml
index 4ce6b10586..b39eb2ce40 100644
--- a/data/conf/spark/yarn-cluster/hive-site.xml
+++ b/data/conf/spark/yarn-cluster/hive-site.xml
@@ -49,6 +49,11 @@
true
+
+ datanucleus.connectionPool.maxPoolSize
+ 4
+
+
hive.metastore.schema.verification
false
@@ -56,7 +61,7 @@
javax.jdo.option.ConnectionURL
- jdbc:derby:;databaseName=${test.tmp.dir}/junit_metastore_db;create=true
+ jdbc:derby:memory:${test.tmp.dir}/junit_metastore_db;create=true
diff --git a/data/conf/tez/hive-site.xml b/data/conf/tez/hive-site.xml
index 1aa8fa5984..e5adb7bf03 100644
--- a/data/conf/tez/hive-site.xml
+++ b/data/conf/tez/hive-site.xml
@@ -67,6 +67,11 @@
true
+
+ datanucleus.connectionPool.maxPoolSize
+ 4
+
+
hive.exec.local.scratchdir
${test.tmp.dir}/localscratchdir/
@@ -75,7 +80,7 @@
javax.jdo.option.ConnectionURL
- jdbc:derby:;databaseName=${test.tmp.dir}/junit_metastore_db;create=true
+ jdbc:derby:memory:${test.tmp.dir}/junit_metastore_db;create=true