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

Brahma Reddy Battula commented on HDFS-7913:
--------------------------------------------

should we change HADOOP_MAPRED to MAPRED, for following..? If yes, will give 
patch... Correct me If I am wrong.. 

{code}
  hadoop_deprecate_envvar HADOOP_MAPRED_LOG_DIR HADOOP_LOG_DIR

  hadoop_deprecate_envvar HADOOP_MAPRED_LOGFILE HADOOP_LOGFILE
  
  hadoop_deprecate_envvar HADOOP_MAPRED_NICENESS HADOOP_NICENESS
  
  hadoop_deprecate_envvar HADOOP_MAPRED_STOP_TIMEOUT HADOOP_STOP_TIMEOUT
  
  hadoop_deprecate_envvar HADOOP_MAPRED_PID_DIR HADOOP_PID_DIR

  hadoop_deprecate_envvar HADOOP_MAPRED_ROOT_LOGGER HADOOP_ROOT_LOGGER
{code}

> HADOOP_HDFS_LOG_DIR should be HDFS_LOG_DIR in deprecations
> ----------------------------------------------------------
>
>                 Key: HDFS-7913
>                 URL: https://issues.apache.org/jira/browse/HDFS-7913
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Allen Wittenauer
>            Assignee: Allen Wittenauer
>            Priority: Critical
>         Attachments: HDFS-7913-01.patch, HDFS-7913.patch
>
>
> The wrong variable is deprecated in hdfs-config.sh.  It should be 
> HDFS_LOG_DIR, not HADOOP_HDFS_LOG_DIR.  This is breaking backward 
> compatibility.
> It might be worthwhile to doublecheck the other dep's to make sure they are 
> correct as well.
> Also, release notes for the deprecation jira should be updated to reflect 
> this change.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to