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/05/25 07:06:23 UTC

[jira] [Assigned] (HADOOP-8433) Logs are getting misplaced after introducing hadoop-env.sh

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

Eli Collins reassigned HADOOP-8433:
-----------------------------------

    Assignee: Brahma Reddy Battula

Hi Brahma,

You're seeing /root/root from a tarball install?  How did you test this change?

Thanks,
ELi
                
> Logs are getting misplaced after introducing 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, 3.0.0
>            Reporter: Brahma Reddy Battula
>            Assignee: Brahma Reddy Battula
>         Attachments: 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