[ https://issues.apache.org/jira/browse/HADOOP-11460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14297355#comment-14297355 ]
Allen Wittenauer commented on HADOOP-11460: ------------------------------------------- One subtle bug which we both missed. sbin/yarn-daemon.sh is somehow setting HADOOP_CONF_DIR and YARN_CONF_DIR to "YARN_CONF_DIR". I suspect it has something to do with null values not getting handled properly. > Deprecate shell vars > -------------------- > > Key: HADOOP-11460 > URL: https://issues.apache.org/jira/browse/HADOOP-11460 > Project: Hadoop Common > Issue Type: New Feature > Components: scripts > Affects Versions: 3.0.0 > Reporter: Allen Wittenauer > Assignee: John Smith > Labels: scripts, shell > Attachments: HADOOP-11460-00.patch, HADOOP-11460-01.patch, > HADOOP-11460-02.patch, HADOOP-11460-03.patch > > > It is a very common shell pattern in 3.x to effectively replace sub-project > specific vars with generics. We should have a function that does this > replacement and provides a warning to the end user that the old shell var is > deprecated. Additionally, we should use this shell function to deprecate the > shell vars that are holdovers already. -- This message was sent by Atlassian JIRA (v6.3.4#6332)