hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brahma Reddy Battula (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8433) Logs are getting misplaced after introducing hadoop-env.sh
Date Tue, 05 Jun 2012 11:49:23 GMT

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

Brahma Reddy Battula commented on HADOOP-8433:

HI Jay Finger,

Thanks For look..

fyi ..I had proposed following two solutions when I raised..
Solution can be removing $user or commenting HADOOP_LOG_DIR in hadoop-env.sh..
I am agreeing with you..

I don't like the approach of commenting this line out. I think a lot of admins will infer
from this that uncommenting the line will result in some useful behavior

It wn't harm by commenting this property since it'll be set in hadoop-daemon.sh...I think
it's better to remove $USER..Please let me know..

A bigger problem is that hadoop-env.sh is sometimes included twice

Anyway this will be addressed by HADOOP-8464.

> 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, Hadoop-8433.patch
> It's better to comment the following in hadoop-env.sh
> # Where log files are stored.  $HADOOP_HOME/logs by default.
> 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


View raw message