[ 
https://issues.apache.org/jira/browse/AMBARI-15713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15226785#comment-15226785
 ] 

Hudson commented on AMBARI-15713:
---------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #4598 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/4598/])
AMBARI-15713. Starting MapR History Server Fails When NameNode is SSL 
(aonishuk: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=2fa50206fb3ae1c077ef03e6558b0782b05af4a3])
* 
ambari-common/src/main/python/resource_management/libraries/functions/namenode_ha_utils.py


> 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)

Reply via email to