[ 
https://issues.apache.org/jira/browse/AMBARI-17783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15592642#comment-15592642
 ] 

Tim Thorpe edited comment on AMBARI-17783 at 10/20/16 6:51 PM:
---------------------------------------------------------------

[~afernandez] [~venkatnrangan] 

Even if FALCON is not installed, this code will add "falcon" to the list of 
oozie admins.  Would it make sense to add a check like the following:

    servicesList = [service["StackServices"]["service_name"] for service in 
services["services"]]
    if "FALCON" not in servicesList:
      return


was (Author: tim thorpe):
[~afernandez] [~venkatnrangan] 

Even if FALCON is not installed, this code will add "falcon" to the list of 
oozie admins.  Would it make sense to add a check like the following:

    servicesList = [service["StackServices"]["service_name"] for service in 
services["services"]]
    if "FALCON" in not servicesList:
      return

> Add falcon to oozie admin user for HDP 2.5
> ------------------------------------------
>
>                 Key: AMBARI-17783
>                 URL: https://issues.apache.org/jira/browse/AMBARI-17783
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.4.0
>            Reporter: Murali Ramasami
>            Assignee: Venkat Ranganathan
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-17783.patch, AMBARI-17783.patch.2
>
>
> we need to add falcon and falcon-admin in the oozie_admin_users of oozie 
> advanced env section. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to