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 "Eli Collins (JIRA)" <ji...@apache.org> on 2012/06/13 07:37:43 UTC
[jira] [Updated] (HADOOP-8433) Don't set HADOOP_LOG_DIR in
hadoop-env.sh
[ https://issues.apache.org/jira/browse/HADOOP-8433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eli Collins updated HADOOP-8433:
--------------------------------
Target Version/s: 2.0.1-alpha (was: 2.0.0-alpha, 3.0.0)
Affects Version/s: (was: 3.0.0)
Summary: Don't set HADOOP_LOG_DIR in hadoop-env.sh (was: Logs are getting misplaced after introducing hadoop-env.sh)
Hadoop Flags: Reviewed
+1 latest patch looks good, I tested it against a tarball install.
> Don't set HADOOP_LOG_DIR in hadoop-env.sh
> -----------------------------------------
>
> Key: HADOOP-8433
> URL: https://issues.apache.org/jira/browse/HADOOP-8433
> Project: Hadoop Common
> Issue Type: Bug
> Components: scripts
> Affects Versions: 2.0.1-alpha
> Reporter: Brahma Reddy Battula
> Assignee: Brahma Reddy Battula
> Attachments: HADOOP-8433.patch, Hadoop-8433.patch
>
>
> It's better to comment the following in hadoop-env.sh
> # Where log files are stored. $HADOOP_HOME/logs by default.
> export HADOOP_LOG_DIR=${HADOOP_LOG_DIR}/$USER
> Because of this logs are placing under root($user) and this getting called two times while starting process.
> hence logs are placing at /root/root/
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira