Return-Path: X-Original-To: apmail-hadoop-common-dev-archive@www.apache.org Delivered-To: apmail-hadoop-common-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B4113E1DA for ; Fri, 15 Feb 2013 13:51:20 +0000 (UTC) Received: (qmail 88920 invoked by uid 500); 15 Feb 2013 13:51:19 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 88209 invoked by uid 500); 15 Feb 2013 13:51:14 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 87753 invoked by uid 99); 15 Feb 2013 13:51:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Feb 2013 13:51:12 +0000 Date: Fri, 15 Feb 2013 13:51:12 +0000 (UTC) From: "Steve Loughran (JIRA)" To: common-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HADOOP-9310) {FileSystem,FileContext}.getFileBlockLocations() are incompletely and incorrectly specified MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Steve Loughran created HADOOP-9310: -------------------------------------- Summary: {FileSystem,FileContext}.getFileBlockLocations() are incompletely and incorrectly specified Key: HADOOP-9310 URL: https://issues.apache.org/jira/browse/HADOOP-9310 Project: Hadoop Common Issue Type: Bug Components: fs Reporter: Steve Loughran The javadocs of the {{getFileBlockLocations()}} methods in {{FileSystem}} and {{FileContext}} incorrectly specify the result when a nonexistent region is passed in (it's an empty array, not null), and nowhere is the response to a call of the method against a directory defined. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira