Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-1568

NameNode Schema for HttpFileSystem

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.14.0
    • fs
    • None

    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

        1. 1568-6.patch
          20 kB
          Christopher Douglas
        2. compat.patch
          0.8 kB
          Christopher Douglas
        3. xmlenc-0.52.jar
          15 kB
          Christopher Douglas

        Issue Links

          Activity

            People

              cdouglas Christopher Douglas
              cdouglas Christopher Douglas
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: