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 73473E3F8 for ; Wed, 20 Feb 2013 00:09:16 +0000 (UTC) Received: (qmail 58948 invoked by uid 500); 20 Feb 2013 00:09:16 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 58916 invoked by uid 500); 20 Feb 2013 00:09:16 -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 58906 invoked by uid 99); 20 Feb 2013 00:09:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Feb 2013 00:09:16 +0000 Date: Wed, 20 Feb 2013 00:09:16 +0000 (UTC) From: "Tsz Wo (Nicholas), SZE (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-4502) WebHdfsFileSystem handling of ifile field breaks compatibility and breaks HttpFS 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-4502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13581788#comment-13581788 ] Tsz Wo (Nicholas), SZE commented on HDFS-4502: ---------------------------------------------- > ... WebHdfsFileSystem will use it for creating FileStatus. However, the fileId in FileStatus should be also ignored by the user applications. ... More precisely, WebHdfsFileSystem uses fileId for creating HdfsFileStatus. However, user applications should only use the FileStatus API (but not HdfsFileStatus) so that fileId is not visible to them. > WebHdfsFileSystem handling of ifile field breaks compatibility and breaks HttpFS > -------------------------------------------------------------------------------- > > Key: HDFS-4502 > URL: https://issues.apache.org/jira/browse/HDFS-4502 > Project: Hadoop HDFS > Issue Type: Bug > Components: webhdfs > Affects Versions: 3.0.0 > Reporter: Alejandro Abdelnur > Assignee: Brandon Li > Priority: Blocker > Attachments: HDFS-4502.patch > > > HDFS-4340 introduced a new field {{fileId}} in WebHDFS FileStatus JSON representation. > There are a two issues with this: > * This is changing the WebHDFS REST API, this has not been documented > * WebHdfsFileSystem should not fail when that field is not present (This is the case when using HttpFS against a FS implementation -other than HDFS- which does not handle fileId) -- 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