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

Disabling security fails with AttributeError

    XMLWordPrintableJSON

Details

    Description

      Disabling security is failing with :

      Stack Advisor reported an error: AttributeError: 'NoneType' object has no attribute 'replace'
      StdOut file: /var/run/ambari-server/stack-recommendations/26/stackadvisor.out
      
      StdErr file: /var/run/ambari-server/stack-recommendations/26/stackadvisor.err
      

      Error file shows :

      Traceback (most recent call last):
        File "/var/lib/ambari-server/resources/scripts/stack_advisor.py", line 166, in <module>
          main(sys.argv)
        File "/var/lib/ambari-server/resources/scripts/stack_advisor.py", line 116, in main
          result = stackAdvisor.recommendConfigurations(services, hosts)
        File "/var/lib/ambari-server/resources/scripts/../stacks/stack_advisor.py", line 775, in recommendConfigurations
          calculation(configurations, clusterSummary, services, hosts)
        File "/var/lib/ambari-server/resources/scripts/./../stacks/HDP/2.5/services/stack_advisor.py", line 480, in recommendStormConfigurations
          storm_nimbus_impersonation_acl.replace('{{storm_bare_jaas_principal}}', storm_bare_jaas_principal)
      AttributeError: 'NoneType' object has no attribute 'replace'
      

      Attachments

        1. AMBARI-20494_trunk_01.patch
          3 kB
          Robert Levas
        2. AMBARI-20494_branch-2.5_01.patch
          3 kB
          Robert Levas

        Issue Links

          Activity

            People

              rlevas Robert Levas
              shreyabhatm@gmail.com Shreya Bhat
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: