[
https://issues.apache.org/jira/browse/HADOOP-10787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14104099#comment-14104099
]
Allen Wittenauer commented on HADOOP-10787:
-------------------------------------------
List:
* DEFAULT_LIBEXEC_DIR
* TOOL_PATH
* JAVA_HEAP_MAX (handled by HADOOP-10950)
* SLAVE_NAMES? (just need to be made local?)
* SLAVE_FILE? (just need to be made local?)
Not to be removed:
* HADOOP_*
* YARN_*
* MAPRED_*
Non-Hadoop vars intentionally set/used:
* JAVA_HOME
* PDSH_SSH_ARGS_APPEND
* LD_LIBRARY_PATH (for people who don't know how to use ld -R...)
* JAVA_LIBRARY_PATH (ditto)
* MALLOC_ARENA_MAX
* EUID
* JAVA (although maybe this should get changed to HADOOP_JAVA?)
* JSVC_HOME
* CLASSPATH
* BASH_VERSINFO
NOTE: list currently ignores the craziness that is httpfs, kms, etc.
> [post-HADOOP-9902] Rename/remove non-HADOOP_*, non-YARN_* from the shell
> scripts
> --------------------------------------------------------------------------------
>
> Key: HADOOP-10787
> URL: https://issues.apache.org/jira/browse/HADOOP-10787
> Project: Hadoop Common
> Issue Type: Improvement
> Components: scripts
> Affects Versions: 3.0.0
> Reporter: Allen Wittenauer
> Labels: scripts
>
> We should make an effort to clean up the shell env var name space by removing
> unsafe variables. See comments for list.
--
This message was sent by Atlassian JIRA
(v6.2#6252)