Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 27462 invoked from network); 7 Nov 2008 23:40:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Nov 2008 23:40:11 -0000 Received: (qmail 32902 invoked by uid 500); 7 Nov 2008 23:40:11 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 32855 invoked by uid 500); 7 Nov 2008 23:40:11 -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 32844 invoked by uid 99); 7 Nov 2008 23:40:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Nov 2008 15:40:11 -0800 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, 07 Nov 2008 23:39:01 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5AD18234C284 for ; Fri, 7 Nov 2008 15:39:44 -0800 (PST) Message-ID: <1360705111.1226101184371.JavaMail.jira@brutus> Date: Fri, 7 Nov 2008 15:39:44 -0800 (PST) From: "Pete Wyckoff (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-4619) hdfs_write infinite loop when dfs fails and cannot write files > 2 GB In-Reply-To: <1539217653.1226100944402.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-4619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pete Wyckoff updated HADOOP-4619: --------------------------------- Attachment: HADOOP-4619.txt 1. added check for hdfsWrite return being less than 0 and if so, break out of loop 2. changed tSize size to long long size No new unit test as not practical to write > 2 GB file in test or fail dfs after open and during write. Also, this is just a sample program , not the library itself.:) > hdfs_write infinite loop when dfs fails and cannot write files > 2 GB > --------------------------------------------------------------------- > > Key: HADOOP-4619 > URL: https://issues.apache.org/jira/browse/HADOOP-4619 > Project: Hadoop Core > Issue Type: Bug > Components: libhdfs > Reporter: Pete Wyckoff > Attachments: HADOOP-4619.txt > > > 1. hdfs_write does not check hdfsWrite return code so -1 return code is ignored. > 2. hdfs_write uses int for overall file length -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.