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 E641910FC4 for ; Fri, 10 Jan 2014 14:49:00 +0000 (UTC) Received: (qmail 41445 invoked by uid 500); 10 Jan 2014 14:48:21 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 41109 invoked by uid 500); 10 Jan 2014 14:47:56 -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 41076 invoked by uid 99); 10 Jan 2014 14:47:54 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jan 2014 14:47:54 +0000 Date: Fri, 10 Jan 2014 14:47:54 +0000 (UTC) From: "Hudson (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-5449) WebHdfs compatibility broken between 2.2 and 1.x / 23.x 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-5449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13867856#comment-13867856 ] Hudson commented on HDFS-5449: ------------------------------ SUCCESS: Integrated in Hadoop-Mapreduce-trunk #1665 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1665/]) HDFS-5449. WebHdfs compatibility broken between 2.2 and 1.x / 23.x. Contributed by Kihwal Lee. (kihwal: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1556927) * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/JsonUtil.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestJsonUtil.java > WebHdfs compatibility broken between 2.2 and 1.x / 23.x > ------------------------------------------------------- > > Key: HDFS-5449 > URL: https://issues.apache.org/jira/browse/HDFS-5449 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Kihwal Lee > Assignee: Kihwal Lee > Priority: Blocker > Fix For: 3.0.0, 2.4.0 > > Attachments: HDFS-5449.branch-2.patch, HDFS-5449.patch, HDFS-5449.patch, HDFS-5449.trunk.patch, HDFS-5449.trunk.patch > > > Similarly to HDFS-5403, getFileBlockLocations() fail between old (1.x, 0.23.x) and new (2.x), but this is worse since both directions won't work. This is caused by the removal of "name" field from the serialized json format of DatanodeInfo. > 2.x namenode should include "name" (ip:port) in the response and 2.x webhdfs client should use "name", if "ipAddr" and "xferPort" don't exist in the response. -- This message was sent by Atlassian JIRA (v6.1.5#6160)