Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-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 36094C11D for ; Thu, 3 May 2012 14:05:17 +0000 (UTC) Received: (qmail 70453 invoked by uid 500); 3 May 2012 14:05:17 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 70349 invoked by uid 500); 3 May 2012 14:05:17 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 70341 invoked by uid 99); 3 May 2012 14:05:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2012 14:05:16 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2012 14:05:13 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A45F642D364 for ; Thu, 3 May 2012 14:04:52 +0000 (UTC) Date: Thu, 3 May 2012 14:04:52 +0000 (UTC) From: "Hudson (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <2016340659.21770.1336053892706.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <362960148.13609.1335889672706.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HDFS-3336) hdfs launcher script will be better off not special casing namenode command with regards to hadoop.security.logger 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/HDFS-3336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13267440#comment-13267440 ] Hudson commented on HDFS-3336: ------------------------------ Integrated in Hadoop-Mapreduce-trunk #1068 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1068/]) HDFS-3336. hdfs launcher script will be better off not special casing namenode command with regards to hadoop.security.logger (rvs via tucu) (Revision 1333236) Result = FAILURE tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1333236 Files : * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs > hdfs launcher script will be better off not special casing namenode command with regards to hadoop.security.logger > ------------------------------------------------------------------------------------------------------------------ > > Key: HDFS-3336 > URL: https://issues.apache.org/jira/browse/HDFS-3336 > Project: Hadoop HDFS > Issue Type: Bug > Components: scripts > Affects Versions: 0.23.1 > Reporter: Roman Shaposhnik > Assignee: Roman Shaposhnik > Priority: Minor > Fix For: 2.0.0 > > Attachments: HDFS-3336.patch.txt > > > All of the launcher scripts (except hdfs when called with a namenode argument) are defaulting to INFO,NullAppender setting for hadoop.security.logger. The only codepath where the default is INFO,RFAS is via hadoop-daemon.sh. This is exactly the right thing to do since only daemons are guaranteed to be executed under the proper user account (the one that has write/create access to the locations specified in ${hadoop.log.dir}/*). > It would be nice for 'hdfs namenode' to follow the suit and not produce spurious warnings about not being able to write to log locations when executed from under regular accounts. -- 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