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 51322964F for ; Thu, 13 Oct 2011 22:02:34 +0000 (UTC) Received: (qmail 97430 invoked by uid 500); 13 Oct 2011 22:02:33 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 97409 invoked by uid 500); 13 Oct 2011 22:02:33 -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 97299 invoked by uid 99); 13 Oct 2011 22:02:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Oct 2011 22:02:33 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Oct 2011 22:02:32 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5DCCE307A85 for ; Thu, 13 Oct 2011 22:02:12 +0000 (UTC) Date: Thu, 13 Oct 2011 22:02:12 +0000 (UTC) From: "Tsz Wo (Nicholas), SZE (Updated) (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1127617025.11345.1318543332385.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <14072042.15954.1318272390632.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HDFS-2424) webhdfs liststatus json does not convert to a valid xml document 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-2424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo (Nicholas), SZE updated HDFS-2424: ----------------------------------------- Assignee: Tsz Wo (Nicholas), SZE Status: Patch Available (was: Open) JSON output after the patch {noformat} {"HdfsFileStatuses":{"HdfsFileStatus":[ {"accessTime":1318445297972,"blockSize":33554432,"group":"supergroup","isDir":false,"len":3003,"localName":"a.patch","modificationTime":1318445297972,"owner":"szetszwo","permission":"644","replication":1}, {"accessTime":1318447291566,"blockSize":33554432,"group":"supergroup","isDir":false,"len":4972,"localName":"a2.patch","modificationTime":1318447291566,"owner":"szetszwo","permission":"644","replication":3} ]}} {noformat} The corresponding XML {noformat} 1318445297972 33554432 supergroup false 3003 a.patch 1318445297972 szetszwo 644 1 1318447291566 33554432 supergroup false 4972 a2.patch 1318447291566 szetszwo 644 3 {noformat} > webhdfs liststatus json does not convert to a valid xml document > ---------------------------------------------------------------- > > Key: HDFS-2424 > URL: https://issues.apache.org/jira/browse/HDFS-2424 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 0.20.205.0 > Reporter: Arpit Gupta > Assignee: Tsz Wo (Nicholas), SZE > Attachments: h2424_20111013.patch, h2424_20111013_0.20s.patch > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira