Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-2869

Error in Webhdfs documentation for mkdir

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.23.1, 1.0.0
    • 0.23.1, 1.1.0
    • webhdfs
    • None

    Description

      Reported over the lists by user Stuti Awasthi:

      I have tried the webhdfs functionality of Hadoop-1.0.0 and it is working fine.
      Just a small change is required in the documentation :

      Make a Directory declaration in documentation:
      curl -i -X PUT "http://<HOST>:<PORT>/<PATH>?op=MKDIRS[&permission=<OCTAL>]"

      Gives following error :
      HTTP/1.1 405 HTTP method PUT is not supported by this URL
      Content-Length: 0
      Server: Jetty(6.1.26)

      Correction Required : This works for me
      curl -i -X PUT "http://<host>:<port>/webhdfs/v1/<PATH>?op=MKDIRS"

      Attachments

        1. HDFS-2869-branch-1.patch
          0.7 kB
          Harsh J
        2. HDFS-2869.patch
          0.8 kB
          Harsh J

        Activity

          People

            qwertymaniac Harsh J
            qwertymaniac Harsh J
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: