hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-11460) Deprecate shell vars
Date Fri, 12 Feb 2016 20:23:18 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-11460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Allen Wittenauer updated HADOOP-11460:
--------------------------------------
    Release Note: 
| Old | New |
|:---- |:---- |
| HADOOP\_HDFS\_LOG\_DIR | HADOOP\_LOG\_DIR |
| HADOOP\_HDFS\_LOGFILE | HADOOP\_LOGFILE |
| HADOOP\_HDFS\_NICENESS | HADOOP\_NICENESS |
| HADOOP\_HDFS\_STOP\_TIMEOUT | HADOOP\_STOP\_TIMEOUT |
| HADOOP\_HDFS\_PID\_DIR | HADOOP\_PID\_DIR |
| HADOOP\_HDFS\_ROOT\_LOGGER | HADOOP\_ROOT\_LOGGER |
| HADOOP\_HDFS\_IDENT\_STRING | HADOOP\_IDENT\_STRING |
| HADOOP\_MAPRED\_LOG\_DIR | HADOOP\_LOG\_DIR |
| HADOOP\_MAPRED\_LOGFILE | HADOOP\_LOGFILE |
| HADOOP\_MAPRED\_NICENESS | HADOOP\_NICENESS |
| HADOOP\_MAPRED\_STOP\_TIMEOUT | HADOOP\_STOP\_TIMEOUT |
| HADOOP\_MAPRED\_PID\_DIR | HADOOP\_PID\_DIR |
| HADOOP\_MAPRED\_ROOT\_LOGGER | HADOOP\_ROOT\_LOGGER |
| HADOOP\_MAPRED\_IDENT\_STRING | HADOOP\_IDENT\_STRING |
| YARN\_CONF\_DIR | HADOOP\_CONF\_DIR |
| YARN\_LOG\_DIR | HADOOP\_LOG\_DIR |
| YARN\_LOGFILE | HADOOP\_LOGFILE |
| YARN\_NICENESS | HADOOP\_NICENESS |
| YARN\_STOP\_TIMEOUT | HADOOP\_STOP\_TIMEOUT |
| YARN\_PID\_DIR | HADOOP\_PID\_DIR |
| YARN\_ROOT\_LOGGER | HADOOP\_ROOT\_LOGGER |
| YARN\_IDENT\_STRING | HADOOP\_IDENT\_STRING |
| YARN\_OPTS | HADOOP\_OPTS |
| YARN\_SLAVES | HADOOP\_SLAVES |
| YARN\_USER\_CLASSPATH | HADOOP\_USER\_CLASSPATH |
| YARN\_USER\_CLASSPATH\_FIRST | HADOOP\_USER\_CLASSPATH\_FIRST |
| KMS\_CONFIG | HADOOP\_CONF\_DIR |
| KMS\_LOG | HADOOP\_LOG\_DIR |

  was:
<!-- markdown -->
The following shell environment variables have been deprecated:

| Old | New |
|:---- |:---- |
| HADOOP_HDFS_LOG_DIR| HADOOP_LOG_DIR|
| HADOOP_HDFS_LOGFILE| HADOOP_LOGFILE|
| HADOOP_HDFS_NICENESS| HADOOP_NICENESS|
| HADOOP_HDFS_STOP_TIMEOUT| HADOOP_STOP_TIMEOUT |
| HADOOP_HDFS_PID_DIR| HADOOP_PID_DIR|
| HADOOP_HDFS_ROOT_LOGGER| HADOOP_ROOT_LOGGER|
| HADOOP_HDFS_IDENT_STRING| HADOOP_IDENT_STRING|
| HADOOP_MAPRED_LOG_DIR| HADOOP_LOG_DIR|
| HADOOP_MAPRED_LOGFILE| HADOOP_LOGFILE|
| HADOOP_MAPRED_NICENESS| HADOOP_NICENESS|
| HADOOP_MAPRED_STOP_TIMEOUT| HADOOP_STOP_TIMEOUT|
| HADOOP_MAPRED_PID_DIR| HADOOP_PID_DIR|
| HADOOP_MAPRED_ROOT_LOGGER| HADOOP_ROOT_LOGGER|
| HADOOP_MAPRED_IDENT_STRING| HADOOP_IDENT_STRING|
| YARN_CONF_DIR| HADOOP_CONF_DIR|
| YARN_LOG_DIR| HADOOP_LOG_DIR|
| YARN_LOGFILE| HADOOP_LOGFILE|
| YARN_NICENESS| HADOOP_NICENESS|
| YARN_STOP_TIMEOUT| HADOOP_STOP_TIMEOUT|
| YARN_PID_DIR| HADOOP_PID_DIR|
| YARN_ROOT_LOGGER| HADOOP_ROOT_LOGGER|
| YARN_IDENT_STRING| HADOOP_IDENT_STRING|
| YARN_OPTS| HADOOP_OPTS|
| YARN_SLAVES| HADOOP_SLAVES|
| YARN_USER_CLASSPATH| HADOOP_USER_CLASSPATH|
| YARN_USER_CLASSPATH_FIRST| HADOOP_USER_CLASSPATH_FIRST|
| KMS_CONFIG |HADOOP_CONF_DIR|
| KMS_LOG |HADOOP_LOG_DIR |


> 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