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

pingwang updated AMBARI-18830:
------------------------------
    Description: 
Flume agent can be started in two ways: by shell and by Ambari. 
>From the terminal, any existed user can start flume agent as below:
su - user01 -c "flume-ng agent -n a1 -f flume-agent.conf"
But from Ambari interface, all the agent processes are started by user "flume" 
defined by flume_user property.
AMBARI-6596 added the ability for the backend to support a flume user, and also 
run as the user "flume".

Some customers has such requirement that they can specify the user when 
starting agent from Ambari.  Although flume_user property can be editable it 
will always do the creation operation for the user no matter it exists or not,  
this can not meet the requirement.

Is there any possible to add a Flume_Run-as_User for flume to make agent run by 
the specified user? This property is just be used when starting agent? 
 

  was:
Flume agent can be started in two ways: by shell and by Ambari. 
>From the terminal, any existed user can start flume agent as below:
su - user01 -c "flume-ng agent -n a1 -f flume-agent.conf"
But from Ambari interface, all the agent processes are started by user "flume" 
defined by flume_user property.

Some customers has such requirement that they can specify the user when 
starting agent from Ambari.  Although flume_user property can be editable but 
it will always do the creation operation for the user, this can not meet the 
requirement.

Is there any possible to add a Flume_Run-as_User for flume to make agent run by 
the specified user? This property is just be used when starting agent? 
 


> start flume agent on Ambari with specified user 
> ------------------------------------------------
>
>                 Key: AMBARI-18830
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18830
>             Project: Ambari
>          Issue Type: Improvement
>            Reporter: pingwang
>
> Flume agent can be started in two ways: by shell and by Ambari. 
> From the terminal, any existed user can start flume agent as below:
> su - user01 -c "flume-ng agent -n a1 -f flume-agent.conf"
> But from Ambari interface, all the agent processes are started by user 
> "flume" defined by flume_user property.
> AMBARI-6596 added the ability for the backend to support a flume user, and 
> also run as the user "flume".
> Some customers has such requirement that they can specify the user when 
> starting agent from Ambari.  Although flume_user property can be editable it 
> will always do the creation operation for the user no matter it exists or 
> not,  this can not meet the requirement.
> Is there any possible to add a Flume_Run-as_User for flume to make agent run 
> by the specified user? This property is just be used when starting agent? 
>  



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

Reply via email to