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 73DB1CA62 for ; Mon, 11 Jun 2012 18:22:44 +0000 (UTC) Received: (qmail 75880 invoked by uid 500); 11 Jun 2012 18:22:44 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 75825 invoked by uid 500); 11 Jun 2012 18:22:44 -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 75813 invoked by uid 99); 11 Jun 2012 18:22:44 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jun 2012 18:22:44 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 30B3B14035F for ; Mon, 11 Jun 2012 18:22:44 +0000 (UTC) Date: Mon, 11 Jun 2012 18:22:44 +0000 (UTC) From: "Eli Collins (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1565451951.3444.1339438964201.JavaMail.jiratomcat@issues-vm> In-Reply-To: <971183756.45455.1326739421856.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HDFS-2797) Fix misuses of InputStream#skip in the edit log code 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-2797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eli Collins updated HDFS-2797: ------------------------------ Resolution: Fixed Fix Version/s: 2.0.1-alpha Target Version/s: (was: 0.24.0) Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) I've committed this and merged to branch-2. Thanks Colin. > Fix misuses of InputStream#skip in the edit log code > ---------------------------------------------------- > > Key: HDFS-2797 > URL: https://issues.apache.org/jira/browse/HDFS-2797 > Project: Hadoop HDFS > Issue Type: Bug > Components: ha, name-node > Affects Versions: 2.0.0-alpha > Reporter: Aaron T. Myers > Assignee: Colin Patrick McCabe > Fix For: 2.0.1-alpha > > Attachments: HDFS-2797.001.patch, HDFS-2797.002.patch, HDFS-2797.003.patch > > > Fix some misuses of InputStream#skip in the edit log code. > Also add a test. The existing failover tests only cover the case of graceful shutdown. We should make sure the standby NN can become active even when the final transaction in an edit log is only partially written to disk. -- 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