hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-11460) Deprecate shell vars
Date Thu, 05 Feb 2015 14:43:46 GMT

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

Hudson commented on HADOOP-11460:
---------------------------------

SUCCESS: Integrated in Hadoop-Hdfs-trunk-Java8 #92 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/92/])
HADOOP-11460. Deprecate shell vars (John Smith via aw) (aw: rev 43d5caef5e63b3c96737cb642c1e8f31ec8c9a8c)
* hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh
* hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.sh
* hadoop-yarn-project/hadoop-yarn/bin/yarn-config.sh
* hadoop-common-project/hadoop-common/CHANGES.txt
* hadoop-mapreduce-project/bin/mapred-config.sh
* hadoop-common-project/hadoop-kms/src/main/libexec/kms-config.sh
* hadoop-yarn-project/hadoop-yarn/bin/stop-yarn.sh
* hadoop-mapreduce-project/conf/mapred-env.sh
* hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs-config.sh
* hadoop-common-project/hadoop-kms/src/main/conf/kms-env.sh
* hadoop-yarn-project/hadoop-yarn/conf/yarn-env.sh
* hadoop-yarn-project/hadoop-yarn/bin/start-yarn.sh
* hadoop-yarn-project/hadoop-yarn/bin/yarn


> Deprecate shell vars
> --------------------
>
>                 Key: HADOOP-11460
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11460
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: scripts
>    Affects Versions: 3.0.0
>            Reporter: Allen Wittenauer
>            Assignee: John Smith
>              Labels: scripts, shell
>             Fix For: 3.0.0
>
>         Attachments: HADOOP-11460-00.patch, HADOOP-11460-01.patch, HADOOP-11460-02.patch,
HADOOP-11460-03.patch, HADOOP-11460-04.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)

Mime
View raw message