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 954C36E26 for ; Thu, 16 Jun 2011 03:58:12 +0000 (UTC) Received: (qmail 28206 invoked by uid 500); 16 Jun 2011 03:58:12 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 28183 invoked by uid 500); 16 Jun 2011 03:58:11 -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 28175 invoked by uid 99); 16 Jun 2011 03:58:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jun 2011 03:58:10 +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, 16 Jun 2011 03:58:08 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5D22141AD96 for ; Thu, 16 Jun 2011 03:57:47 +0000 (UTC) Date: Thu, 16 Jun 2011 03:57:47 +0000 (UTC) From: "ramkrishna.s.vasudevan (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <283525121.9768.1308196667378.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <17678216.38937.1306238267462.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HDFS-1989) When checkpointing by backup node occurs parallely when a file is being closed by a client then Exception occurs saying no journal streams. 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/HDFS-1989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13050207#comment-13050207 ] ramkrishna.s.vasudevan commented on HDFS-1989: ---------------------------------------------- Hi, Yes. the editsLog.close() is the problem as it closes all the editStreams including the diverted editStreams. > When checkpointing by backup node occurs parallely when a file is being closed by a client then Exception occurs saying no journal streams. > -------------------------------------------------------------------------------------------------------------------------------------------- > > Key: HDFS-1989 > URL: https://issues.apache.org/jira/browse/HDFS-1989 > Project: Hadoop HDFS > Issue Type: Bug > Components: name-node > Affects Versions: 0.23.0 > Reporter: ramkrishna.s.vasudevan > Fix For: 0.23.0 > > > Backup namenode initiates the checkpointing process. > As a part of checkpointing based on the timestamp it tries to download the FSImage or use the existing one. > Then it tries to save the FSImage. > During this time it tries to close the editLog streams. > Parallely when a client tries to close a file just after the checkpointing process closes the editLog Stream then we get an exception saying > java.io.IOException: java.lang.IllegalStateException: !!! WARNING !!! File system changes are not persistent. No journal streams. > Here the saveNameSpace api closes all the editlog streams resulting in this issue. > -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira