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

While adding Hive Server Interactive, ATLAS config recommendation throws error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 2.4.0
    • 2.5.0
    • stacks
    • None

    Description

      [root@sm-rmp1-1 18]# cat stackadvisor.err
      Traceback (most recent call last):
        File "/var/lib/ambari-server/resources/scripts/stack_advisor.py", line 158, in <module>
          main(sys.argv)
        File "/var/lib/ambari-server/resources/scripts/stack_advisor.py", line 109, in main
          result = stackAdvisor.recommendConfigurations(services, hosts)
        File "/var/lib/ambari-server/resources/scripts/../stacks/stack_advisor.py", line 589, in recommendConfigurations
          calculation(configurations, clusterSummary, services, hosts)
        File "/var/lib/ambari-server/resources/scripts/./../stacks/HDP/2.5/services/stack_advisor.py", line 137, in recommendAtlasConfigurations
          logsearch_solr_znode = services["configurations"]["logsearch-solr-env"]["properties"]['logsearch_solr_znode']
      KeyError: 'logsearch-solr-env'
      

      I will submit a patch to add a check but I think there is a larger issue here. So I will keep the bug open.

      Attachments

        1. AMBARI-16241.check.patch
          0.9 kB
          Sumit Mohanty
        2. AMBARI-16241.check2.patch
          0.9 kB
          Sumit Mohanty

        Activity

          People

            oleewere Oliver Szabo
            sumitmohanty Sumit Mohanty
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: