This is an automated email from the ASF dual-hosted git repository.

pdallig 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 d16ef699bd [ZEPPELIN-6017] Revert changes about ZEPPELIN_IDENT_STRING 
in ZEPPELIN-5421
d16ef699bd is described below

commit d16ef699bdf0caafd9667c9af4922cf4fc4f6c91
Author: Manhua <man...@apache.org>
AuthorDate: Sat Apr 27 13:51:08 2024 +0800

    [ZEPPELIN-6017] Revert changes about ZEPPELIN_IDENT_STRING in ZEPPELIN-5421
---
 bin/common.cmd | 4 ++++
 bin/common.sh  | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/bin/common.cmd b/bin/common.cmd
index 12ca1d7498..0ddbad8a51 100644
--- a/bin/common.cmd
+++ b/bin/common.cmd
@@ -86,6 +86,10 @@ if not defined JAVA_HOME (
     set ZEPPELIN_RUNNER=%JAVA_HOME%\bin\java
 )
 
+if not defined ZEPPELIN_IDENT_STRING (
+    set ZEPPELIN_IDENT_STRING=%USERNAME%
+)
+
 if not defined ZEPPELIN_INTERPRETER_REMOTE_RUNNER (
     set ZEPPELIN_INTERPRETER_REMOTE_RUNNER=bin\interpreter.cmd
 )
diff --git a/bin/common.sh b/bin/common.sh
index 411e915bbf..fb533d902a 100644
--- a/bin/common.sh
+++ b/bin/common.sh
@@ -171,6 +171,10 @@ else
 fi
 export ZEPPELIN_RUNNER
 
+if [[ -z "$ZEPPELIN_IDENT_STRING" ]]; then
+  export ZEPPELIN_IDENT_STRING="${USER}"
+fi
+
 if [[ -z "$ZEPPELIN_INTERPRETER_REMOTE_RUNNER" ]]; then
   export ZEPPELIN_INTERPRETER_REMOTE_RUNNER="bin/interpreter.sh"
 fi

Reply via email to