[
https://issues.apache.org/jira/browse/HDFS-6169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13954939#comment-13954939
]
Akira AJISAKA commented on HDFS-6169:
-------------------------------------
bq. actually call HTTPGET to "http://foo/webhdfs/v1/?op=liststatus"
"http://foo/webhdfs/v1/?op=getfilestatus" is the right, so we should do two
things to support "hadoop dfs -ls -R" to WebImageViewer.
# Move the endpoint from http://hostname:port/ to
http://hostname:port/webhdfs/v1.
# Support {{GETFILESTATUS}} operation
Since the latter is already reported at HDFS-6170, let's focus on moving the
endpoint in this jira. I'll renew the description shortly.
> WebImageViewer should support recursive liststatus operation.
> -------------------------------------------------------------
>
> Key: HDFS-6169
> URL: https://issues.apache.org/jira/browse/HDFS-6169
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: tools
> Affects Versions: 2.5.0
> Reporter: Akira AJISAKA
> Assignee: Akira AJISAKA
> Attachments: HDFS-6169.patch
>
>
> Lsr processor was removed from OfflineImageViewer by HDFS-6164 but the Web
> processor (WebImageViewer) doesn't support recursive {{LISTSTATUS}} operation.
> Users now need to query all the directories to get the information of all the
> files/dirs in a fsimage.
--
This message was sent by Atlassian JIRA
(v6.2#6252)