[
https://issues.apache.org/jira/browse/HADOOP-14202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15946628#comment-15946628
]
John Zhuge commented on HADOOP-14202:
-------------------------------------
Thanks [~aw] for the great effort. Nice deduplication with
hadoop_generic_java_subcmd_handler.
hadoop-config.sh
- Which feature requires Bash 3.2 ?
hadoop-functions.sh
- 118, 120: such a perfectionist :)
- 478: move to 2536?
- 2134-2135, 2157-2159, 2185, 2204-2205, 2266, 2324: match local var names, or
change local var names to match these. Not sure about this though, because
there are so many functions with the same issue.
- 2517: Has HADOOP_SUBCMD_SECUREUSER become a local var in
hadoop_generic_java_subcmd_handler? It should be lower case then. Same for
HADOOP_SUBCMD_SECURESERVICE if we move 478 to 2536
UnixShellGuide.md
- Blank line at EOF
hadoop_verify_user_resolves.bats
- Blank line at EOF
> 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, HADOOP-14202.01.patch,
> HADOOP-14202.02.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: [email protected]
For additional commands, e-mail: [email protected]