[
https://issues.apache.org/jira/browse/AMBARI-17039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15319987#comment-15319987
]
Matt commented on AMBARI-17039:
-------------------------------
[~rzang]
I found the issue:
It's missing an import in hdfs_utils.py:
{code}
from resource_management.libraries.functions.is_empty import is_empty
{code}
I'll be committing this line directly to the code, since it looks like you guys
have discussed it in the review board already. But missed out on the commit to
trunk.
> 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)