You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2016/04/05 14:22:25 UTC
[jira] [Created] (AMBARI-15713) Starting MapR History Server Fails
When NameNode is SSL
Andrew Onischuk created AMBARI-15713:
----------------------------------------
Summary: Starting MapR History Server Fails When NameNode is SSL
Key: AMBARI-15713
URL: https://issues.apache.org/jira/browse/AMBARI-15713
Project: Ambari
Issue Type: Bug
Reporter: Andrew Onischuk
Assignee: Andrew Onischuk
Fix For: 2.4.0
Attachments: AMBARI-15713.patch
The `namenode_ha_utils.py` uses the deprecated `hdfs-site/dfs.https.enable`
property. As a result, when starting components like MapR History Server, they
will fail when NameNode is protected by SSL:
2016-01-11 14:19:32,903 - checked_call['ambari-sudo.sh su nzhdfs -l -s /bin/bash -c 'curl --negotiate -u : -s '"'"'http://nhgab001.tst.server.com:50070/jmx?qry=Hadoop:service=NameNode,name=FSNamesystem'"'"' 1>/tmp/tmpxmvioB 2>/tmp/tmpZcxPOR''] {'quiet': False}
2016-01-11 14:19:32,980 - Getting jmx metrics from NN failed. URL: http://nhgab001.tst.server.com:50070/jmx?qry=Hadoop:service=NameNode,name=FSNamesystem
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/jmx.py", line 38, in get_value_from_jmx
_, data, _ = get_user_call_output(cmd, user=run_user, quiet=False)
File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/get_user_call_output.py", line 49, in get_user_call_output
func_result = func(shell.as_user(command_string, user), quiet=quiet, **call_kwargs)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner
result = function(command, **kwargs)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call
tries=tries, try_sleep=try_sleep)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper
result = _call(command, **kwargs_copy)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 291, in _call
raise Fail(err_msg)
Instead, `hdfs-site/dfs.http.policy` should be used.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)