This is an automated email from the ASF dual-hosted git repository. forwardxu pushed a commit to branch feature-hudi-console in repository https://gitbox.apache.org/repos/asf/hudi.git
The following commit(s) were added to refs/heads/feature-hudi-console by this push: new 29f88e9ba49 [Improve] how to build updated (#8578) 29f88e9ba49 is described below commit 29f88e9ba49230e52b16e08117a1d87659244827 Author: benjobs <benj...@apache.org> AuthorDate: Wed Apr 26 14:39:22 2023 +0800 [Improve] how to build updated (#8578) Co-authored-by: benjobs <benj...@gmail.com> --- hudi-console/README.md | 2 -- hudi-console/hudi-console/src/main/assembly/bin/hudi.sh | 1 + .../src/main/java/org/apache/hudi/console/HudiConsoleBootstrap.java | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/hudi-console/README.md b/hudi-console/README.md index 9c365a75908..54830523e2b 100644 --- a/hudi-console/README.md +++ b/hudi-console/README.md @@ -43,8 +43,6 @@ analytical datasets on DFS (Cloud stores, HDFS or any Hadoop FileSystem compatib ## 🔨 How to Build ```shell -git clone g...@github.com:apache/hudi.git -cd hudi/hudi-console mvn -Pdist -DskipTests clean package ``` diff --git a/hudi-console/hudi-console/src/main/assembly/bin/hudi.sh b/hudi-console/hudi-console/src/main/assembly/bin/hudi.sh index df0efdb21de..39052dca471 100755 --- a/hudi-console/hudi-console/src/main/assembly/bin/hudi.sh +++ b/hudi-console/hudi-console/src/main/assembly/bin/hudi.sh @@ -368,6 +368,7 @@ start() { org.apache.hudi.console.HudiConsoleBootstrap >> "$APP_OUT" 2>&1 "&" local PID=$! + local IS_NUMBER="^[0-9]+$" # Add to pid file if successful start if [[ ${PID} =~ ${IS_NUMBER} ]] && kill -0 $PID > /dev/null 2>&1 ; then diff --git a/hudi-console/hudi-console/src/main/java/org/apache/hudi/console/HudiConsoleBootstrap.java b/hudi-console/hudi-console/src/main/java/org/apache/hudi/console/HudiConsoleBootstrap.java index a0652d3d6ab..c50e1469c5b 100644 --- a/hudi-console/hudi-console/src/main/java/org/apache/hudi/console/HudiConsoleBootstrap.java +++ b/hudi-console/hudi-console/src/main/java/org/apache/hudi/console/HudiConsoleBootstrap.java @@ -27,6 +27,6 @@ import org.springframework.scheduling.annotation.EnableScheduling; @EnableScheduling public class HudiConsoleBootstrap { public static void main(String[] args) { - new SpringApplication(HudiConsoleBootstrap.class).run(args); + new SpringApplication(HudiConsoleBootstrap.class).run(args); } }