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

Andrew Onischuk commented on AMBARI-15713:
------------------------------------------

Non related failure. Admin view is broken:
{noformat}
[INFO] Ambari Main ....................................... SUCCESS [  3.005 s]
[INFO] Apache Ambari Project POM ......................... SUCCESS [  0.058 s]
[INFO] Ambari Web ........................................ SUCCESS [ 37.674 s]
[INFO] Ambari Views ...................................... SUCCESS [  1.300 s]
[INFO] Ambari Admin View ................................. FAILURE [  6.319 s]
[INFO] ambari-metrics .................................... SKIPPED
[INFO] Ambari Metrics Common ............................. SKIPPED
{noformat}

UT:
{noformat}
[INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 
approved: 143 licence.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Ambari Server ..................................... SUCCESS [1:37.423s]
[INFO] Ambari Agent ...................................... SUCCESS [23.345s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:08.431s
[INFO] Finished at: Tue Apr 05 15:20:36 EEST 2016
[INFO] Final Memory: 138M/900M
[INFO] ------------------------------------------------------------------------
{noformat}

> 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