Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 20443 invoked from network); 22 May 2009 01:27:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 May 2009 01:27:55 -0000 Received: (qmail 15851 invoked by uid 500); 22 May 2009 01:28:08 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 15781 invoked by uid 500); 22 May 2009 01:28:07 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 15771 invoked by uid 99); 22 May 2009 01:28:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 May 2009 01:28:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 May 2009 01:28:05 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 93951234C004 for ; Thu, 21 May 2009 18:27:45 -0700 (PDT) Message-ID: <981134819.1242955665590.JavaMail.jira@brutus> Date: Thu, 21 May 2009 18:27:45 -0700 (PDT) From: "Konstantin Shvachko (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-5188) Modifications to enable multiple types of logging In-Reply-To: <1079209870.1233922679612.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-5188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12711913#action_12711913 ] Konstantin Shvachko commented on HADOOP-5188: --------------------------------------------- # Isn't that supposed to belong to HADOOP-5832? # I don't understand why you need the LoggingDevice? It is just a wrapper around the configuration variable, which is now a URI. So you can just create edits streams based on the URI itself rather than on different types of LoggingDevice-s. You currently instantiate LoggingDevice-s based on the URI's so you may as well instantiate directly the streams based on that. # I would suggest to move StorageDirectory directly inside EditLogFileOutputStream rather than LoggingDevice. This might be a separate issue. # Do you also plan to make "dfs.name.dir" a URI. Looks like you cannot avoid that since if "dfs.name.edits.dir" is not specified then "dfs.name.dir" automatically become edits directories as well as name dirs. > Modifications to enable multiple types of logging > -------------------------------------------------- > > Key: HADOOP-5188 > URL: https://issues.apache.org/jira/browse/HADOOP-5188 > Project: Hadoop Core > Issue Type: Improvement > Components: dfs > Affects Versions: 0.20.0 > Reporter: Luca Telloli > Fix For: 0.21.0 > > Attachments: HADOOP-5188.patch, HADOOP-5188.patch, HADOOP-5188.patch, HADOOP-5188.patch, HADOOP-5188.pdf > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.