Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 95696 invoked from network); 11 Nov 2008 02:20:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Nov 2008 02:20:37 -0000 Received: (qmail 28663 invoked by uid 500); 11 Nov 2008 02:20:42 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 28630 invoked by uid 500); 11 Nov 2008 02:20:42 -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 28619 invoked by uid 99); 11 Nov 2008 02:20:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Nov 2008 18:20:42 -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; Tue, 11 Nov 2008 02:19:31 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 508C0234C256 for ; Mon, 10 Nov 2008 18:19:44 -0800 (PST) Message-ID: <1076775604.1226369984328.JavaMail.jira@brutus> Date: Mon, 10 Nov 2008 18:19:44 -0800 (PST) From: "Pete Wyckoff (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Created: (HADOOP-4630) libhdfs issue warning if FSDataInputStream returns invalid return value MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org libhdfs issue warning if FSDataInputStream returns invalid return value ----------------------------------------------------------------------- Key: HADOOP-4630 URL: https://issues.apache.org/jira/browse/HADOOP-4630 Project: Hadoop Core Issue Type: Improvement Components: libhdfs Reporter: Pete Wyckoff libhdfs changes Java read semantics to posix semantics. As such, if Hadoop ever returns 0 bytes read, libhdfs has no way of communicating this to the caller. So, it should at least issue a warning to stderr. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.