This is an automated email from the ASF dual-hosted git repository.
xxyu pushed a commit to branch kylin5
in repository https://gitbox.apache.org/repos/asf/kylin.git
The following commit(s) were added to refs/heads/kylin5 by this push:
new 8509f15c84 KYLIN-5217 Fix init commit (#1905)
8509f15c84 is described below
commit 8509f15c84f12700074525a250ad648436ff77d0
Author: yahoNanJing <[email protected]>
AuthorDate: Tue Aug 2 16:48:52 2022 +0800
KYLIN-5217 Fix init commit (#1905)
* Remove postgresql rpm
* Fix spark log path issue
Co-authored-by: yangzhong <[email protected]>
---
.../postgresql10-10.7-1PGDG.rhel6.x86_64.rpm | Bin 1723920 -> 0 bytes
.../postgresql10-10.7-1PGDG.rhel7.x86_64.rpm | Bin 1652980 -> 0 bytes
.../postgresql10-10.8-1PGDG.rhel8.x86_64.rpm | Bin 1698484 -> 0 bytes
.../postgresql10-libs-10.7-1PGDG.rhel6.x86_64.rpm | Bin 333124 -> 0 bytes
.../postgresql10-libs-10.7-1PGDG.rhel7.x86_64.rpm | Bin 362956 -> 0 bytes
.../postgresql10-libs-10.8-1PGDG.rhel8.x86_64.rpm | Bin 386556 -> 0 bytes
.../postgresql10-server-10.7-1PGDG.rhel6.x86_64.rpm | Bin 5275184 -> 0 bytes
.../postgresql10-server-10.7-1PGDG.rhel7.x86_64.rpm | Bin 4760172 -> 0 bytes
.../postgresql10-server-10.8-1PGDG.rhel8.x86_64.rpm | Bin 4913812 -> 0 bytes
.../scala/org/apache/spark/sql/KylinSession.scala | 2 +-
10 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/build/postgresql/postgresql10-10.7-1PGDG.rhel6.x86_64.rpm
b/build/postgresql/postgresql10-10.7-1PGDG.rhel6.x86_64.rpm
deleted file mode 100644
index f6e36186a1..0000000000
Binary files a/build/postgresql/postgresql10-10.7-1PGDG.rhel6.x86_64.rpm and
/dev/null differ
diff --git a/build/postgresql/postgresql10-10.7-1PGDG.rhel7.x86_64.rpm
b/build/postgresql/postgresql10-10.7-1PGDG.rhel7.x86_64.rpm
deleted file mode 100644
index 1f059378d4..0000000000
Binary files a/build/postgresql/postgresql10-10.7-1PGDG.rhel7.x86_64.rpm and
/dev/null differ
diff --git a/build/postgresql/postgresql10-10.8-1PGDG.rhel8.x86_64.rpm
b/build/postgresql/postgresql10-10.8-1PGDG.rhel8.x86_64.rpm
deleted file mode 100644
index a74036e41c..0000000000
Binary files a/build/postgresql/postgresql10-10.8-1PGDG.rhel8.x86_64.rpm and
/dev/null differ
diff --git a/build/postgresql/postgresql10-libs-10.7-1PGDG.rhel6.x86_64.rpm
b/build/postgresql/postgresql10-libs-10.7-1PGDG.rhel6.x86_64.rpm
deleted file mode 100644
index 108da149de..0000000000
Binary files a/build/postgresql/postgresql10-libs-10.7-1PGDG.rhel6.x86_64.rpm
and /dev/null differ
diff --git a/build/postgresql/postgresql10-libs-10.7-1PGDG.rhel7.x86_64.rpm
b/build/postgresql/postgresql10-libs-10.7-1PGDG.rhel7.x86_64.rpm
deleted file mode 100644
index 50ae493ea4..0000000000
Binary files a/build/postgresql/postgresql10-libs-10.7-1PGDG.rhel7.x86_64.rpm
and /dev/null differ
diff --git a/build/postgresql/postgresql10-libs-10.8-1PGDG.rhel8.x86_64.rpm
b/build/postgresql/postgresql10-libs-10.8-1PGDG.rhel8.x86_64.rpm
deleted file mode 100644
index 0dd8447e59..0000000000
Binary files a/build/postgresql/postgresql10-libs-10.8-1PGDG.rhel8.x86_64.rpm
and /dev/null differ
diff --git a/build/postgresql/postgresql10-server-10.7-1PGDG.rhel6.x86_64.rpm
b/build/postgresql/postgresql10-server-10.7-1PGDG.rhel6.x86_64.rpm
deleted file mode 100644
index 75de3f6a64..0000000000
Binary files a/build/postgresql/postgresql10-server-10.7-1PGDG.rhel6.x86_64.rpm
and /dev/null differ
diff --git a/build/postgresql/postgresql10-server-10.7-1PGDG.rhel7.x86_64.rpm
b/build/postgresql/postgresql10-server-10.7-1PGDG.rhel7.x86_64.rpm
deleted file mode 100644
index 14698f92aa..0000000000
Binary files a/build/postgresql/postgresql10-server-10.7-1PGDG.rhel7.x86_64.rpm
and /dev/null differ
diff --git a/build/postgresql/postgresql10-server-10.8-1PGDG.rhel8.x86_64.rpm
b/build/postgresql/postgresql10-server-10.8-1PGDG.rhel8.x86_64.rpm
deleted file mode 100644
index 89e41c0d36..0000000000
Binary files a/build/postgresql/postgresql10-server-10.8-1PGDG.rhel8.x86_64.rpm
and /dev/null differ
diff --git
a/src/spark-project/sparder/src/main/scala/org/apache/spark/sql/KylinSession.scala
b/src/spark-project/sparder/src/main/scala/org/apache/spark/sql/KylinSession.scala
index 4ea13d1949..23c101a36c 100644
---
a/src/spark-project/sparder/src/main/scala/org/apache/spark/sql/KylinSession.scala
+++
b/src/spark-project/sparder/src/main/scala/org/apache/spark/sql/KylinSession.scala
@@ -308,7 +308,7 @@ object KylinSession extends Logging {
logDir = ExtractFactory.create.getSparderEvenLogDir()
sparkConf.set("spark.eventLog.dir", logDir)
val logPath = new Path(new URI(logDir).getPath)
- val fs = HadoopUtil.getWorkingFileSystem()
+ val fs = HadoopUtil.getWorkingFileSystem(logPath)
if (!fs.exists(logPath)) {
fs.mkdirs(logPath)
}