You are viewing a plain text version of this content. The canonical link for it is here.
Posted to submarine-dev@hadoop.apache.org by li...@apache.org on 2019/10/15 03:50:12 UTC
[hadoop-submarine] branch master updated: [SUBMARINE-238] Fix
failed to start submarine server
This is an automated email from the ASF dual-hosted git repository.
liuxun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hadoop-submarine.git
The following commit(s) were added to refs/heads/master by this push:
new 16a9137 [SUBMARINE-238] Fix failed to start submarine server
16a9137 is described below
commit 16a9137b10956708dc45472219b14747b77523f1
Author: luzhonghao <lu...@163.com>
AuthorDate: Mon Oct 14 20:04:00 2019 +0800
[SUBMARINE-238] Fix failed to start submarine server
### What is this PR for?
We followed the steps from document https://github.com/apache/hadoop-submarine/tree/master/dev-support/mini-submarine and run "workbench-daemon.sh start getMysqlJar" at root's home , however, the workbench log complains the "Files not exist exception" .
It should be fixed.
### What type of PR is it?
Bug Fix
### What is the Jira issue?
https://issues.apache.org/jira/browse/SUBMARINE-238
### How should this be tested?
manual test
### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No
Author: luzhonghao <lu...@163.com>
Closes #46 from luzhonghao/SUBMARINE-238 and squashes the following commits:
fe5b82d [luzhonghao] [SUBMARINE-238] Fix failed to start submarine server use workbench-daemon.sh
---
bin/workbench-daemon.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/bin/workbench-daemon.sh b/bin/workbench-daemon.sh
index 5d37d04..a828e49 100755
--- a/bin/workbench-daemon.sh
+++ b/bin/workbench-daemon.sh
@@ -31,6 +31,8 @@ GET_MYSQL_JAR=false
. "${BIN}/common.sh"
+cd ${BIN}/>/dev/null
+
WORKBENCH_NAME="Submarine Workbench"
WORKBENCH_LOGFILE="${SUBMARINE_LOG_DIR}/workbench.log"
WORKBENCH_MAIN=org.apache.submarine.server.WorkbenchServer