Repository: ambari Updated Branches: refs/heads/branch-2.4 4f7f32a09 -> dd8dfdd22
AMBARI-17761. Need to specify HADOOP_CONF_DIR in livy-env (Jeff Zhang via smohanty) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/dd8dfdd2 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/dd8dfdd2 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/dd8dfdd2 Branch: refs/heads/branch-2.4 Commit: dd8dfdd22c0f3164154402829e8e19b0744e796b Parents: 4f7f32a Author: Sumit Mohanty <[email protected]> Authored: Sun Jul 17 21:22:31 2016 -0700 Committer: Sumit Mohanty <[email protected]> Committed: Sun Jul 17 21:22:31 2016 -0700 ---------------------------------------------------------------------- .../stacks/HDP/2.5/services/SPARK/configuration/livy-env.xml | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/dd8dfdd2/ambari-server/src/main/resources/stacks/HDP/2.5/services/SPARK/configuration/livy-env.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.5/services/SPARK/configuration/livy-env.xml b/ambari-server/src/main/resources/stacks/HDP/2.5/services/SPARK/configuration/livy-env.xml index 48e96ce..c2e6c93 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.5/services/SPARK/configuration/livy-env.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.5/services/SPARK/configuration/livy-env.xml @@ -75,10 +75,12 @@ #!/usr/bin/env bash # - SPARK_HOME Spark which you would like to use in livy + # - HADOOP_CONF_DIR Directory containing the Hadoop / YARN configuration to use. # - LIVY_LOG_DIR Where log files are stored. (Default: ${LIVY_HOME}/logs) # - LIVY_PID_DIR Where the pid file is stored. (Default: /tmp) # - LIVY_SERVER_JAVA_OPTS Java Opts for running livy server (You can set jvm related setting here, like jvm memory/gc algorithm and etc.) export SPARK_HOME=/usr/hdp/current/spark-client + export HADOOP_CONF_DIR=/etc/hadoop/conf export LIVY_LOG_DIR={{livy_log_dir}} export LIVY_PID_DIR={{livy_pid_dir}} export LIVY_SERVER_JAVA_OPTS="-Xmx2g"
