You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by zj...@apache.org on 2019/11/11 04:17:25 UTC
[zeppelin] branch master updated: [ZEPPELIN-4436]. Interpreter PID
file should contain interpreter group id
This is an automated email from the ASF dual-hosted git repository.
zjffdu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zeppelin.git
The following commit(s) were added to refs/heads/master by this push:
new 527a69b [ZEPPELIN-4436]. Interpreter PID file should contain interpreter group id
527a69b is described below
commit 527a69b2835948031f4863405f5fc105a66b382f
Author: Jeff Zhang <zj...@apache.org>
AuthorDate: Thu Nov 7 17:58:15 2019 +0800
[ZEPPELIN-4436]. Interpreter PID file should contain interpreter group id
### What is this PR for?
Simple PR to include interpreter group id into the pid file.
### What type of PR is it?
[Improvement ]
### Todos
* [ ] - Task
### What is the Jira issue?
* https://issues.apache.org/jira/browse/ZEPPELIN-4436
### How should this be tested?
* Manually tested
### Screenshots (if appropriate)
### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No
Author: Jeff Zhang <zj...@apache.org>
Closes #3514 from zjffdu/ZEPPELIN-4436 and squashes the following commits:
2642ae448 [Jeff Zhang] [ZEPPELIN-4436]. Interpreter PID file should contain interpreter group id
---
bin/interpreter.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/interpreter.sh b/bin/interpreter.sh
index 32d7c1d..4ea8514 100755
--- a/bin/interpreter.sh
+++ b/bin/interpreter.sh
@@ -90,7 +90,7 @@ HOSTNAME=$(hostname)
ZEPPELIN_SERVER=org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer
INTERPRETER_ID=$(basename "${INTERPRETER_DIR}")
-ZEPPELIN_PID="${ZEPPELIN_PID_DIR}/zeppelin-interpreter-${INTERPRETER_ID}-${ZEPPELIN_IDENT_STRING}-${HOSTNAME}-${PORT}.pid"
+ZEPPELIN_PID="${ZEPPELIN_PID_DIR}/zeppelin-interpreter-${INTP_GROUP_ID}-${ZEPPELIN_IDENT_STRING}-${HOSTNAME}-${PORT}.pid"
ZEPPELIN_LOGFILE="${ZEPPELIN_LOG_DIR}/zeppelin-interpreter-${INTERPRETER_GROUP_ID}-"
if [[ -z "$ZEPPELIN_IMPERSONATE_CMD" ]]; then