[
https://issues.apache.org/jira/browse/AMBARI-17039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Richard Zang resolved AMBARI-17039.
-----------------------------------
Resolution: Fixed
Committed to trunk and 2.4 66fd5920f47f756b469244b67b49fd0e7372a54f
> Takes long time to start or fail to start service after enabling SSL due to
> "dfs.https.enable"
> ----------------------------------------------------------------------------------------------
>
> Key: AMBARI-17039
> URL: https://issues.apache.org/jira/browse/AMBARI-17039
> Project: Ambari
> Issue Type: Bug
> Affects Versions: 2.2.1.1
> Reporter: Richard Zang
> Assignee: Richard Zang
> Fix For: 2.4.0
>
> Attachments: AMBARI-17039.patch
>
>
> *SYMPTOM:*
> After enabling SSL on HDFS, starting services, such as YARN takes long time
> because Ambari keeps checking http:// , not https://
> {noformat}
> 2016-06-02 23:07:22,221 - Getting jmx metrics from NN failed. URL:
> http://dev-hdp-mas-w2a-a.corporate.t-mobile.com:50070/jmx?qry=Hadoop:service=NameNode,name=FSNamesys...
> 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 61, in get_user_call_output
> raise Fail(err_msg)
> Fail: Execution of 'curl --negotiate -u : -s
> 'http://dev-hdp-mas-w2a-a.corporate.t-mobile.com:50070/jmx?qry=Hadoop:service=NameNode,name=FSNamesys...'
> 1>/tmp/tmpOGkdi9 2>/tmp/tmpCUfr6B' returned 7.
> 2016-06-02 23:07:24,506 - Getting jmx metrics from NN failed. URL:
> http://dev-hdp-mas-w2b-a.corporate.t-mobile.com:50070/jmx?qry=Hadoop:service=NameNode,name=FSNamesys...
> 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 61, in get_user_call_output
> raise Fail(err_msg)
> Fail: Execution of 'curl --negotiate -u : -s
> 'http://dev-hdp-mas-w2b-a.corporate.t-mobile.com:50070/jmx?qry=Hadoop:service=NameNode,name=FSNamesys...'
> 1>/tmp/tmpDF9Kqb 2>/tmp/tmpBgbC4P' returned 7.
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)