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 AC9C39B55 for ; Fri, 3 Feb 2012 00:09:15 +0000 (UTC) Received: (qmail 32218 invoked by uid 500); 3 Feb 2012 00:09:15 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 32191 invoked by uid 500); 3 Feb 2012 00:09:14 -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 32183 invoked by uid 99); 3 Feb 2012 00:09:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Feb 2012 00:09:14 +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; Fri, 03 Feb 2012 00:09: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 8889C189642 for ; Fri, 3 Feb 2012 00:08:53 +0000 (UTC) Date: Fri, 3 Feb 2012 00:08:53 +0000 (UTC) From: "Bikas Saha (Commented) (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1533882389.5709.1328227733560.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <906542653.11006.1328002210174.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HDFS-2863) Failures observed if dfs.edits.dir and shared.edits.dir have same directories. 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-2863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13199384#comment-13199384 ] Bikas Saha commented on HDFS-2863: ---------------------------------- I think we are mixing unit tests and functional tests here. If 2752 is properly implemented then I dont see why it should break the behavior of the existing methods since it defines a policy on top of a mechanism and these classes implement the mechanism. In any case, there is no harm done in splitting them and its trivial to do so. Will update shortly. > Failures observed if dfs.edits.dir and shared.edits.dir have same directories. > ------------------------------------------------------------------------------ > > Key: HDFS-2863 > URL: https://issues.apache.org/jira/browse/HDFS-2863 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: ha, name-node > Affects Versions: HA branch (HDFS-1623) > Reporter: Jitendra Nath Pandey > Assignee: Bikas Saha > Attachments: HDFS-2863.HDFS-1623.patch, HDFS-2863.HDFS-1623.patch, HDFS-2863.HDFS-1623.patch > > > If same edits directory is configured in twice, both are treated independently. Edit log roll is called on the same directory twice causing exceptions. -- 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