Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E16989AA4 for ; Fri, 25 May 2012 02:24:18 +0000 (UTC) Received: (qmail 51576 invoked by uid 500); 25 May 2012 02:24:17 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 51479 invoked by uid 500); 25 May 2012 02:24:17 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 51363 invoked by uid 99); 25 May 2012 02:24:17 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 May 2012 02:24:17 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 0523F141663 for ; Fri, 25 May 2012 02:24:17 +0000 (UTC) Date: Fri, 25 May 2012 02:24:17 +0000 (UTC) From: "Brahma Reddy Battula (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <1870216099.76.1337912657023.JavaMail.jiratomcat@issues-vm> In-Reply-To: <421398537.57.1337912536714.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (HADOOP-8433) Logs are getting misplaced after introducing hadoop-env.sh MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-8433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13282986#comment-13282986 ] Brahma Reddy Battula commented on HADOOP-8433: ---------------------------------------------- Solution can be removing $user or commenting HADOOP_LOG_DIR in hadoop-env.sh.. > 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 > > 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