This is an automated email from the ASF dual-hosted git repository.
benjobs pushed a commit to branch dev-2.1.4
in repository https://gitbox.apache.org/repos/asf/incubator-streampark.git
The following commit(s) were added to refs/heads/dev-2.1.4 by this push:
new 8a7596518 [hotfix] Fix code style and enable maven ci on dev-* branch
(#3631)
8a7596518 is described below
commit 8a75965186a36882ea9525caeeb8569b9a144c41
Author: gongzhongqiang <[email protected]>
AuthorDate: Tue Mar 26 23:44:27 2024 +0800
[hotfix] Fix code style and enable maven ci on dev-* branch (#3631)
---
.github/workflows/maven.yml | 1 +
.../streampark/console/core/service/impl/ApplicationServiceImpl.java | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 0b68cccae..ada185d6a 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -22,6 +22,7 @@ on:
branches:
- dev
- release-*
+ - dev-*
paths-ignore:
- '**.md'
- 'deploy/**'
diff --git
a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/service/impl/ApplicationServiceImpl.java
b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/service/impl/ApplicationServiceImpl.java
index 2c4010d38..8c30049b4 100644
---
a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/service/impl/ApplicationServiceImpl.java
+++
b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/service/impl/ApplicationServiceImpl.java
@@ -1949,7 +1949,8 @@ public class ApplicationServiceImpl extends
ServiceImpl<ApplicationMapper, Appli
.collect(Collectors.toList());
} catch (Exception e) {
log.error("Failed to connect hadoop YARN, detail: {}",
Utils.stringifyException(e));
- throw new RuntimeException("Failed to connect hadoop YARN. Ensure that
hadoop yarn is running.");
+ throw new RuntimeException(
+ "Failed to connect hadoop YARN. Ensure that hadoop yarn is
running.");
}
}