Description
This issue will track the design and implementation of (the first pass of) a servlet on the namenode for querying its filesystem via HTTP. The proposed syntax for queries and responses is as follows.
Query
GET http://<nn>:<port>/ls.jsp[<?option>[&option]*] HTTP/1.1
Where option may be any of the following query parameters:
path : String (default: '/')
recursive : boolean (default: false)
filter : String (default: none)
Response
The response will be returned as an XML document in the following format:
<listing path="..." recursive="(yes|no)" filter="..." time="yyyy-MM-dd hh:mm:ss UTC" version="..."> <directory path="..."/> <file path="..." modified="yyyy-MM-dd hh:mm:ss" blocksize="..." replication="..." size="..." dnurl="http://dn:port/streamFile?..."/> </listing>
Attachments
Attachments
Issue Links
- is depended upon by
-
HADOOP-1563 Create FileSystem implementation to read HDFS data via http
- Closed
- relates to
-
HADOOP-1621 Make FileStatus a concrete class
- Closed