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 2015/01/19 20:32:35 UTC

[jira] [Commented] (HADOOP-11460) Deprecate shell vars

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

Allen Wittenauer commented on HADOOP-11460:
-------------------------------------------

FYI: This also fixes a problem with mapred-env.sh... MAPRED_ROOT_LOGGER isn't the correct env var. :)

> 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
>              Labels: scripts, shell
>         Attachments: HADOOP-11460-00.patch, HADOOP-11460-01.patch, HADOOP-11460-02.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)