[
https://issues.apache.org/jira/browse/HDFS-2424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13124390#comment-13124390
]
Arpit Gupta commented on HDFS-2424:
-----------------------------------
Make the following request
http://localhost:50070/webhdfs/tmp?op=liststatus
Returns
{"HdfsFileStatus":[
{"accessTime":0,"blockSize":0,"group":"supergroup","isDir":true,"len":0,"localName":"some_name","modificationTime":1318223419779,"owner":"some_user","permission":"755","replication":0},
]}
Try to convert this response into a valid xml document leads to an exception
saying there is no root element. As a user using these API's it would be best
if we make sure one can create a valid xml document from the response
The following exception is thrown.
org.xml.sax.SAXParseException: The markup in the document following the root
element must be well-formed.
> 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
>
--
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