hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haohui Mai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-5978) Create a tool to take fsimage and expose read-only WebHDFS API
Date Mon, 24 Mar 2014 17:46:46 GMT

    [ https://issues.apache.org/jira/browse/HDFS-5978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13945410#comment-13945410
] 

Haohui Mai commented on HDFS-5978:
----------------------------------

bq. Just to be clear, this is an WebHDFS operation over HTTP, it is not part of the WebHDFS
FileSystem HTTP REST API, right?

I'm not exactly sure what you mean. The patch provides an offline image viewer that creates
a HTTP server and exposes the same APIs of WebHDFS, so that the users can use other tools
(like {{hadoop dfs -ls}} or the web UI) to inspect the fsimage. Other than that it has nothing
to do with WebHDFS.

Thanks for bringing it up. However, it might be better to update the description to avoid
the confusion.

> 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.3.patch, HDFS-5978.4.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)

Mime
View raw message