[
https://issues.apache.org/jira/browse/HDFS-5978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13933664#comment-13933664
]
Haohui Mai commented on HDFS-5978:
----------------------------------
bq. I updated the patch to reflect the comment, and added FILESTATUS operation.
I appreciate if you can separate it into a new jira. It looks to me that the
new patch has not fully addressed the previous round of comment (yet).
bq. It is required because the type of the json content is String.
I'm yet to be convinced. The code is dumping UTF-8 string directly to the
channel buffer. I don't quite follow why you need an extra pipeline stage to
dump the string into the channel buffer.
> Create a tool to take fsimage and expose read-only WebHDFS API
> --------------------------------------------------------------
>
> Key: HDFS-5978
> URL: https://issues.apache.org/jira/browse/HDFS-5978
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: tools
> Reporter: Akira AJISAKA
> Assignee: Akira AJISAKA
> Labels: newbie
> Attachments: HDFS-5978.2.patch, HDFS-5978.patch
>
>
> Suggested in HDFS-5975.
> Add an option to exposes the read-only version of WebHDFS API for
> OfflineImageViewer. You can imagine it looks very similar to jhat.
> That way we can allow the operator to use the existing command-line tool, or
> even the web UI to debug the fsimage. It also allows the operator to
> interactively browsing the file system, figuring out what goes wrong.
--
This message was sent by Atlassian JIRA
(v6.2#6252)