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 9f41db7 ZEPPELIN-3887. Print INTERPRETER_RUN_COMMAND in
interpreter.sh for debugging purpose
9f41db7 is described below
commit 9f41db72d760be4eb112c9527f6ed39ee1aef119
Author: Jeff Zhang <[email protected]>
AuthorDate: Mon Jan 28 14:09:59 2019 +0800
ZEPPELIN-3887. Print INTERPRETER_RUN_COMMAND in interpreter.sh for
debugging purpose
### What is this PR for?
This is a minor improvement to print interpreter launch command, just for
developer debugging purpose
### What type of PR is it?
[Improvement]
### Todos
* [ ] - Task
### What is the Jira issue?
* https://jira.apache.org/jira/browse/ZEPPELIN-3887
### How should this be tested?
Manually tested, there's the log in the log file.
> DEBUG [2019-01-28 14:07:32,508] ({Exec Stream Pumper}
RemoteInterpreterManagedProcess.java[processLine]:252) - Interpreter launch
command:
/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/bin/java
-Dfile.encoding=UTF-8
-Dlog4j.configuration=file:///Users/jzhang/github/zeppelin/conf/log4j.properties
-Dzeppelin.log.file=/Users/jzhang/github/zeppelin/logs/zeppelin-interpreter-jdbc-shared_process-jzhang-jeffzhangzjfdeMacBook-Pro.local.log
-Xms1024m -Xmx1024m -XX:MaxPerm [...]
### 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 <[email protected]>
Closes #3291 from zjffdu/ZEPPELIN-3887 and squashes the following commits:
41f4630b8 [Jeff Zhang] ZEPPELIN-3887. Print INTERPRETER_RUN_COMMAND in
interpreter.sh for debugging purpose
---
bin/interpreter.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/bin/interpreter.sh b/bin/interpreter.sh
index febc708..46e25f9 100755
--- a/bin/interpreter.sh
+++ b/bin/interpreter.sh
@@ -246,6 +246,7 @@ if [[ ! -z "$ZEPPELIN_IMPERSONATE_USER" ]] && [[ -n
"${suid}" || -z "${SPARK_SUB
INTERPRETER_RUN_COMMAND+="'"
fi
+echo "Interpreter launch command: $INTERPRETER_RUN_COMMAND"
eval $INTERPRETER_RUN_COMMAND &
pid=$!