Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
From Ambari documentation (https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.0/bk_support-matrices/content/ch_matrices-ambari.html), we confirm HDP-2.6.1 compatibility with Ambari 2.5.0. However, when HDP 2.6.1 is deployed using Ambari 2.5.0.3 and upon enabling SSL for Zeppelin, we observe that Zeppelin service check and quick link would fail. This may be due to introduction of two distinct properties for a secure (SSL enabled) and non secure links as described here, https://issues.apache.org/jira/browse/ZEPPELIN-1321 . The two properties are,
"zeppelin.server.port". This property is by default set to 9995 which is used to access the server via a webUI
"zeppelin.server.ssl.port". This property was introduced to be used when SSL was enabled. Hence, UI would have to accessed for the port that was defined for this property. Default is 8443.
With default settings, we see that.
Zeppelin Quick links would point to 9995 port. But, the service would be listening on 8443 port.
Zeppelin service check fails with below stack trace,
Traceback (most recent call last): File "/var/lib/ambari-agent/cache/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/service_check.py", line 40, in <module> ZeppelinServiceCheck().execute() File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 314, in execute method(env) File "/var/lib/ambari-agent/cache/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/service_check.py", line 37, in service_check logoutput=True) File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, in __init__ self.env.run() File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run self.run_action(resource, action) File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action provider_action() File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 262, in action_run tries=self.resource.tries, try_sleep=self.resource.try_sleep) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 72, in inner result = function(command, **kwargs) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 102, in checked_call tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 150, in _call_wrapper result = _call(command, **kwargs_copy) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 303, in _call raise ExecutionFailed(err_msg, code, out, err) resource_management.core.exceptions.ExecutionFailed: Execution of 'curl -s -o /dev/null -w'%{http_code}' --negotiate -u: -k https://<HOSTNAME>:9995 | grep 200' returned 1.
In Summary:
Ambari is always using "zeppelin.server.port" port for Quicklinks where as Zeppelin server is started on "zeppelin.server.ssl.port" port number. this needs to be fixed.
Workaround that could be used is to set both the properties, "zeppelin.server.port" and "zeppelin.server.ssl.port" to 8443.