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

jshao pushed a commit to branch master
in repository

The following commit(s) were added to refs/heads/master by this push:
     new e39d8fe  [LIVY-751] Livy server should allow to customize 
e39d8fe is described below

commit e39d8fee43adbddf88acb2e04b470aa14b713785
Author: Shingo Furuyama <>
AuthorDate: Thu Mar 26 14:07:42 2020 +0800

    [LIVY-751] Livy server should allow to customize LIVY_CLASSPATH
    ## What changes were proposed in this pull request?
    The purpose and background is
    ## How was this patch tested?
    I tested the following two manually.
    1. To confirm there is no degradation, I run 0.7.0-incubating livy server 
with sources in this PR. I also run an example jobs, and it completed without 
    2.  To confirm our workaround works, I build 0.7.0-incubating branch with 
specifying `-Dhadoop.scope=provided` and sources with this PR. After that, I 
added `export LIVY_CLASSPATH="$LIVY_HOME/jars/*:$(hadoop classpath)"` in 
conf/ and boot livy server.  I also run an example jobs, and it 
completed without error.
    Author: Shingo Furuyama <>
    Author: Shingo Furuyama <>
    Closes #282 from marblejenka/livy-classpath.
 bin/livy-server           | 2 +-
 conf/ | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/livy-server b/bin/livy-server
index 8d27d4e..a0e2fb7 100755
--- a/bin/livy-server
+++ b/bin/livy-server
@@ -90,7 +90,7 @@ start_livy_server() {
   if [ -n "$SPARK_CONF_DIR" ]; then
diff --git a/conf/ b/conf/
index 7cba5c3..14f22c3 100644
--- a/conf/
+++ b/conf/
@@ -30,3 +30,4 @@
 #                     names. (Default: name of the user starting Livy).
 # - LIVY_MAX_LOG_FILES Max number of log file to keep in the log directory. 
(Default: 5.)
 # - LIVY_NICENESS   Niceness of the Livy server process when running in the 
background. (Default: 0.)
+# - LIVY_CLASSPATH  Override if the additional classpath is required.

Reply via email to