You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sm...@apache.org on 2016/08/11 14:16:44 UTC
[1/2] ambari git commit: AMBARI-18115. Zeppelin: quicklinks url
protocol should switch to https when ssl is enabled in zeppelin conf (Renjith
Kamath via smohanty)
Repository: ambari
Updated Branches:
refs/heads/trunk 281b2ca5c -> b45690cd6
AMBARI-18115. Zeppelin: quicklinks url protocol should switch to https when ssl is enabled in zeppelin conf (Renjith Kamath via smohanty)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/033b1afb
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/033b1afb
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/033b1afb
Branch: refs/heads/trunk
Commit: 033b1afbe09b16c448ebe244cc3369e9fddfc650
Parents: 281b2ca
Author: Sumit Mohanty <sm...@hortonworks.com>
Authored: Thu Aug 11 07:11:43 2016 -0700
Committer: Sumit Mohanty <sm...@hortonworks.com>
Committed: Thu Aug 11 07:16:27 2016 -0700
----------------------------------------------------------------------
.../ZEPPELIN/0.6.0.2.5/quicklinks/quicklinks.json | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/033b1afb/ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/quicklinks/quicklinks.json
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/quicklinks/quicklinks.json b/ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/quicklinks/quicklinks.json
index 1da4b5e..c1d8491 100644
--- a/ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/quicklinks/quicklinks.json
+++ b/ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/quicklinks/quicklinks.json
@@ -4,7 +4,14 @@
"configuration": {
"protocol":
{
- "type":"HTTP_ONLY"
+ "type":"https",
+ "checks":[
+ {
+ "property":"zeppelin.ssl",
+ "desired":"true",
+ "site":"zeppelin-config"
+ }
+ ]
},
"links": [
[2/2] ambari git commit: AMBARI-18072. set JAVA_HOME in livy-env.sh
(Jeff Zhang via smohanty)
Posted by sm...@apache.org.
AMBARI-18072. set JAVA_HOME in livy-env.sh (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/b45690cd
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/b45690cd
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/b45690cd
Branch: refs/heads/trunk
Commit: b45690cd6a2724b6fc44cdef64783b210ea20994
Parents: 033b1af
Author: Sumit Mohanty <sm...@hortonworks.com>
Authored: Thu Aug 11 07:15:08 2016 -0700
Committer: Sumit Mohanty <sm...@hortonworks.com>
Committed: Thu Aug 11 07:16:34 2016 -0700
----------------------------------------------------------------------
.../common-services/SPARK/1.2.1/package/scripts/params.py | 2 +-
.../stacks/HDP/2.5/services/SPARK/configuration/livy-env.xml | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/b45690cd/ambari-server/src/main/resources/common-services/SPARK/1.2.1/package/scripts/params.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/SPARK/1.2.1/package/scripts/params.py b/ambari-server/src/main/resources/common-services/SPARK/1.2.1/package/scripts/params.py
index 6d372e2..e38316b 100644
--- a/ambari-server/src/main/resources/common-services/SPARK/1.2.1/package/scripts/params.py
+++ b/ambari-server/src/main/resources/common-services/SPARK/1.2.1/package/scripts/params.py
@@ -52,7 +52,7 @@ config = Script.get_config()
tmp_dir = Script.get_tmp_dir()
upgrade_direction = default("/commandParams/upgrade_direction", None)
-
+java_home = config['hostLevelParams']['java_home']
stack_name = status_params.stack_name
stack_root = Script.get_stack_root()
stack_version_unformatted = config['hostLevelParams']['stack_version']
http://git-wip-us.apache.org/repos/asf/ambari/blob/b45690cd/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 c2e6c93..fee24bb 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
@@ -80,6 +80,7 @@
# - 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 JAVA_HOME={{java_home}}
export HADOOP_CONF_DIR=/etc/hadoop/conf
export LIVY_LOG_DIR={{livy_log_dir}}
export LIVY_PID_DIR={{livy_pid_dir}}