You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2017/03/20 20:23:42 UTC

[jira] [Comment Edited] (HADOOP-14202) fix jsvc/secure user var inconsistencies

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

Allen Wittenauer edited comment on HADOOP-14202 at 3/20/17 8:22 PM:
--------------------------------------------------------------------

* Make everything use secure_user
* rename hadoop_verify_user to hadoop_verify_user_perm to better reflect reality
* add a new var creator function to condense code further
* remove vast amounts of boiler plate from the base bin commands. required moving mapred.jobsummary.logger definition in mapred:

{code}
 13 files changed, 285 insertions(+), 322 deletions(-)
{code}


was (Author: aw):
* Make everything use secure_user
* remove vast amounts of boiler plate from the base bin commands. required moving mapred.jobsummary.logger definition in mapred.
* rename hadoop_verify_user to hadoop_verify_user_perm to better reflect reality
* add a new var creator function to condense code further



> fix jsvc/secure user var inconsistencies
> ----------------------------------------
>
>                 Key: HADOOP-14202
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14202
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: scripts
>    Affects Versions: 3.0.0-alpha2
>            Reporter: Allen Wittenauer
>            Assignee: Allen Wittenauer
>         Attachments: HADOOP-14202.00.patch
>
>
> Post-HADOOP-13341 and (more importantly) HADOOP-13673, there has been a major effort on making the configuration environment variables consistent among all the projects. The vast majority of vars now look like (command)_(subcommand)_(etc). Two hold outs are HADOOP_SECURE_DN_USER  and HADOOP_PRIVILEGED_NFS_USER.
> Additionally, there is
> * no generic handling
> * no documentation for anyone
> * no safety checks to make sure things are defined
> In order to fix all of this, we should:
> * deprecate the previous vars using the deprecation function, updating the HDFS documentation that references them
> * add generic (command)_(subcommand)_SECURE_USER support
> * add some verification for the previously mentioned var
> * add some docs to UnixShellGuide.md



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

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