You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampark.apache.org by be...@apache.org on 2024/06/19 06:16:16 UTC
(incubator-streampark) branch dev-2.1.5 updated (bd4f13f92 -> ea1c13a35)
This is an automated email from the ASF dual-hosted git repository.
benjobs pushed a change to branch dev-2.1.5
in repository https://gitbox.apache.org/repos/asf/incubator-streampark.git
discard bd4f13f92 fix issue 3777 (#3780)
new ea1c13a35 [Improve] hdfs plugins dir bug fixed.
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (bd4f13f92)
\
N -- N -- N refs/heads/dev-2.1.5 (ea1c13a35)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../apache/streampark/console/core/runner/EnvInitializer.java | 9 ++++++---
.../streampark/console/core/service/impl/SettingServiceImpl.java | 1 -
streampark-flink/streampark-flink-packer/pom.xml | 2 +-
3 files changed, 7 insertions(+), 5 deletions(-)
(incubator-streampark) 01/01: [Improve] hdfs plugins dir bug fixed.
Posted by be...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
benjobs pushed a commit to branch dev-2.1.5
in repository https://gitbox.apache.org/repos/asf/incubator-streampark.git
commit ea1c13a35438904edacfc01c5ffe7a8f33423f79
Author: benjobs <be...@gmail.com>
AuthorDate: Wed Jun 19 14:16:02 2024 +0800
[Improve] hdfs plugins dir bug fixed.
---
.../apache/streampark/console/core/runner/EnvInitializer.java | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/runner/EnvInitializer.java b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/runner/EnvInitializer.java
index 0e87a9361..a2777e544 100644
--- a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/runner/EnvInitializer.java
+++ b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/runner/EnvInitializer.java
@@ -29,7 +29,6 @@ import org.apache.streampark.common.util.Utils;
import org.apache.streampark.console.base.util.WebUtils;
import org.apache.streampark.console.core.bean.MavenConfig;
import org.apache.streampark.console.core.entity.FlinkEnv;
-import org.apache.streampark.console.core.service.SettingService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
@@ -60,8 +59,6 @@ public class EnvInitializer implements ApplicationRunner {
@Autowired private ApplicationContext context;
- @Autowired private SettingService settingService;
-
private final Set<StorageType> initialized = new HashSet<>(2);
private final FileFilter fileFilter = p -> !".gitkeep".equals(p.getName());
@@ -171,6 +168,12 @@ public class EnvInitializer implements ApplicationRunner {
fsOperator.mkdirs(appJars);
}
+ String appPlugins = workspace.APP_PLUGINS();
+ if (!fsOperator.exists(appPlugins)) {
+ log.info(mkdirLog, appPlugins);
+ fsOperator.mkdirs(appPlugins);
+ }
+
// 2. upload jar.
// 2.1) upload client jar
File client = WebUtils.getAppClientDir();