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 55B65B04 for ; Thu, 5 Jul 2012 23:36:35 +0000 (UTC) Received: (qmail 97437 invoked by uid 500); 5 Jul 2012 23:36:35 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 97402 invoked by uid 500); 5 Jul 2012 23:36:34 -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 97381 invoked by uid 99); 5 Jul 2012 23:36:34 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jul 2012 23:36:34 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 8DD76142855 for ; Thu, 5 Jul 2012 23:36:34 +0000 (UTC) Date: Thu, 5 Jul 2012 23:36:34 +0000 (UTC) From: "Colin Patrick McCabe (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <112463986.11678.1341531394582.JavaMail.jiratomcat@issues-vm> In-Reply-To: <723243345.34987.1340215244364.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (HDFS-3548) NamenodeFsck.copyBlock fails to create a Block Reader 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-3548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Colin Patrick McCabe updated HDFS-3548: --------------------------------------- Attachment: HDFS-3548.002.patch * fix style issues and rebase > NamenodeFsck.copyBlock fails to create a Block Reader > ----------------------------------------------------- > > Key: HDFS-3548 > URL: https://issues.apache.org/jira/browse/HDFS-3548 > Project: Hadoop HDFS > Issue Type: Bug > Components: name-node > Affects Versions: 0.23.1, 2.0.0-alpha > Reporter: Todd Lipcon > Assignee: Colin Patrick McCabe > Priority: Critical > Attachments: HDFS-3548.001.patch, HDFS-3548.002.patch > > > NamenodeFsck.copyBlock creates a Socket using {{new Socket()}}, and thus that socket doesn't have an associated Channel. Then, it fails to create a BlockReader since RemoteBlockReader2 needs a socket channel. > (thanks to Hiroshi Yokoi for reporting) -- 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