This is an automated email from the ASF dual-hosted git repository.

sivabalan pushed a commit to branch release-0.5.3
in repository https://gitbox.apache.org/repos/asf/hudi.git


The following commit(s) were added to refs/heads/release-0.5.3 by this push:
     new b43a63e  [HUDI-980] Fixing dir path for metastore_db and derby.logs 
generated in hive tests (#1688)
b43a63e is described below

commit b43a63ec9ff83f92884b5b5c27d7accbbf3afe47
Author: Sivabalan Narayanan <[email protected]>
AuthorDate: Fri May 29 20:42:20 2020 -0400

    [HUDI-980] Fixing dir path for metastore_db and derby.logs generated in 
hive tests (#1688)
---
 hudi-hive/src/test/java/org/apache/hudi/hive/util/HiveTestService.java | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/hudi-hive/src/test/java/org/apache/hudi/hive/util/HiveTestService.java 
b/hudi-hive/src/test/java/org/apache/hudi/hive/util/HiveTestService.java
index ee5b09a..7fea306 100644
--- a/hudi-hive/src/test/java/org/apache/hudi/hive/util/HiveTestService.java
+++ b/hudi-hive/src/test/java/org/apache/hudi/hive/util/HiveTestService.java
@@ -140,6 +140,7 @@ public class HiveTestService {
     File derbyLogFile = new File(localHiveDir, "derby.log");
     derbyLogFile.createNewFile();
     setSystemProperty("derby.stream.error.file", derbyLogFile.getPath());
+    setSystemProperty("derby.system.home", localHiveDir.getAbsolutePath());
     conf.set(HiveConf.ConfVars.METASTOREWAREHOUSE.varname, 
Files.createTempDir().getAbsolutePath());
     conf.set("datanucleus.schema.autoCreateTables", "true");
     conf.set("hive.metastore.schema.verification", "false");

Reply via email to