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

Allen Wittenauer edited comment on HADOOP-13673 at 11/1/16 7:00 PM:
--------------------------------------------------------------------

-00:
* first pass

Running the start-* and stop-* commands will fire off daemons either as the 
user they are being run as or if the effective user id is root, as the 
appropriate _user definition.  Secure daemons will "do the right thing"--get 
started as root but then switch to the appropriate user when needed. 

At this point, the old start-secure and start-dfs are not merged.  I may do 
that in a future pass.


was (Author: aw):
-00:
* first pass

Running the start-* and stop-* commands will fire off daemons either as the 
user they are being run as or if the effective user id is root, as the 
appropriate _user definition.  Secure daemons will "do the right thing"--get 
started as root but then switch to the appropriate user when needed. 

> Update sbin/start-* and sbin/stop-* to be smarter
> -------------------------------------------------
>
>                 Key: HADOOP-13673
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13673
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 3.0.0-alpha1, 3.0.0-alpha2
>            Reporter: Allen Wittenauer
>            Assignee: Allen Wittenauer
>         Attachments: HADOOP-13673.00.patch
>
>
> As work continues on HADOOP-13397, it's become evident that we need better 
> hooks to start daemons as specifically configured users.  Via the 
> (command)_(subcommand)_USER environment variables in 3.x, we actually have a 
> standardized way to do that.  This in turn means we can make the sbin scripts 
> super functional with a bit of updating:
> * Consolidate start-dfs.sh and start-secure-dns.sh into one script
> * Make start-\*.sh and stop-\*.sh know how to switch users when run as root
> * Undeprecate start/stop-all.sh so that it could be used as root for 
> production purposes and as a single user for non-production users



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

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to