Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 5220 invoked from network); 22 Aug 2008 12:36:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Aug 2008 12:36:06 -0000 Received: (qmail 9688 invoked by uid 500); 22 Aug 2008 12:35:56 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 9633 invoked by uid 500); 22 Aug 2008 12:35:56 -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 9573 invoked by uid 99); 22 Aug 2008 12:35:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Aug 2008 05:35:56 -0700 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 Aug 2008 12:35:07 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 57F07234C226 for ; Fri, 22 Aug 2008 05:34:47 -0700 (PDT) Message-ID: <313411036.1219408487359.JavaMail.jira@brutus> Date: Fri, 22 Aug 2008 05:34:47 -0700 (PDT) From: "Hudson (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-3778) seek(long) in DFSInputStream should catch socket exception for retry later In-Reply-To: <1502868649.1216286371658.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-3778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12624679#action_12624679 ] Hudson commented on HADOOP-3778: -------------------------------- Integrated in Hadoop-trunk #581 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/581/]) > seek(long) in DFSInputStream should catch socket exception for retry later > -------------------------------------------------------------------------- > > Key: HADOOP-3778 > URL: https://issues.apache.org/jira/browse/HADOOP-3778 > Project: Hadoop Core > Issue Type: Bug > Components: dfs > Affects Versions: 0.16.0 > Reporter: Luo Ning > Assignee: Luo Ning > Priority: Minor > Fix For: 0.19.0 > > Attachments: HADOOP-3778.patch, HADOOP-3778.patch, HADOOP-3778.patch > > > HADOOP-2346 introduced data read/write timeout. when data stream borken, DFSClient will retry in read/write methods, but no such mechanism found when seek(long) calling blockReader.skip(diff) (DFSClient.java #1582), will let IOException throw to application. i met NPE when using MapFile in hbase. > i'm supposing in the seek(long) method, let done be 'false' will causing retry (via 'blockEnd = -1'), a patch will attached later for review. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.