From commits-return-5681-archive-asf-public=cust-asf.ponee.io@zeppelin.apache.org Mon Nov 11 04:17:28 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id A3F40180661 for ; Mon, 11 Nov 2019 05:17:28 +0100 (CET) Received: (qmail 20540 invoked by uid 500); 11 Nov 2019 04:17:26 -0000 Mailing-List: contact commits-help@zeppelin.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zeppelin.apache.org Delivered-To: mailing list commits@zeppelin.apache.org Received: (qmail 20531 invoked by uid 99); 11 Nov 2019 04:17:25 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Nov 2019 04:17:25 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id AE54F851DB; Mon, 11 Nov 2019 04:17:25 +0000 (UTC) Date: Mon, 11 Nov 2019 04:17:25 +0000 To: "commits@zeppelin.apache.org" Subject: [zeppelin] branch master updated: [ZEPPELIN-4436]. Interpreter PID file should contain interpreter group id MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <157344584536.13804.11280971300705038591@gitbox.apache.org> From: zjffdu@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: zeppelin X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 5750a98d0068e8f7418fa7f1a20af50261ee4980 X-Git-Newrev: 527a69b2835948031f4863405f5fc105a66b382f X-Git-Rev: 527a69b2835948031f4863405f5fc105a66b382f X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated 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 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 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