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 1DBA5D8DD for ; Fri, 15 Feb 2013 00:35:13 +0000 (UTC) Received: (qmail 70270 invoked by uid 500); 15 Feb 2013 00:35:12 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 70123 invoked by uid 500); 15 Feb 2013 00:35:12 -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 70114 invoked by uid 99); 15 Feb 2013 00:35: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 00:35:12 +0000 Date: Fri, 15 Feb 2013 00:35:12 +0000 (UTC) From: "Brandon Li (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=13578841#comment-13578841 ] Brandon Li commented on HDFS-4502: ---------------------------------- The uploaded patch should fix this problem. Basically it checks if fileId is available, use INodeId.GRANDFATHER_INODE_ID for backward compatibility if fileId does exist. > 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