Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-17039

Takes long time to start or fail to start service after enabling SSL due to "dfs.https.enable"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.1.1
    • 2.4.0
    • None
    • None

    Description

      SYMPTOM:
      After enabling SSL on HDFS, starting services, such as YARN takes long time because Ambari keeps checking http:// , not https://

      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.
      

      Attachments

        1. AMBARI-17039.patch
          6 kB
          Richard Zang

        Activity

          People

            rzang Richard Zang
            rzang Richard Zang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: