[ 
https://issues.apache.org/jira/browse/AMBARI-20494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Levas reassigned AMBARI-20494:
-------------------------------------

    Assignee: Robert Levas

> Disabling security fails with AttributeError
> --------------------------------------------
>
>                 Key: AMBARI-20494
>                 URL: https://issues.apache.org/jira/browse/AMBARI-20494
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Shreya Bhat
>            Assignee: Robert Levas
>         Attachments: AMBARI-20494_branch-2.5_01.patch, 
> AMBARI-20494_trunk_01.patch
>
>
> Disabling security is failing with :
> {code}
> 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
> {code}
> Error file shows :
> {code}
> 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'
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to