This is an automated email from the ASF dual-hosted git repository.
abstractdog pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git
The following commit(s) were added to refs/heads/master by this push:
new 4614ce72a7f HIVE-28212: MiniHS2: use a base folder which is more
likely writable on the local FS (#5212) (Laszlo Bodor reviewed by Simhadri
Govindappa)
4614ce72a7f is described below
commit 4614ce72a7f366674d89a3a78f687e419400cb89
Author: Bodor Laszlo <[email protected]>
AuthorDate: Thu Apr 25 20:40:42 2024 +0200
HIVE-28212: MiniHS2: use a base folder which is more likely writable on the
local FS (#5212) (Laszlo Bodor reviewed by Simhadri Govindappa)
---
itests/util/src/main/java/org/apache/hive/jdbc/miniHS2/MiniHS2.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/itests/util/src/main/java/org/apache/hive/jdbc/miniHS2/MiniHS2.java
b/itests/util/src/main/java/org/apache/hive/jdbc/miniHS2/MiniHS2.java
index 8076a0718ed..6eb3a634723 100644
--- a/itests/util/src/main/java/org/apache/hive/jdbc/miniHS2/MiniHS2.java
+++ b/itests/util/src/main/java/org/apache/hive/jdbc/miniHS2/MiniHS2.java
@@ -304,7 +304,7 @@ public class MiniHS2 extends AbstractHiveService {
}
// store the config in system properties
mr.setupConfiguration(getHiveConf());
- baseFsDir = new Path(new Path(fs.getUri()), "/base");
+ baseFsDir = new Path(new Path(fs.getUri()),
HiveConf.ConfVars.SCRATCH_DIR.getDefaultValue());
} else {
// This is FS only mode, just initialize the dfs root directory.
fs = FileSystem.getLocal(hiveConf);