Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-2869

Error in Webhdfs documentation for mkdir

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.23.1, 1.0.0
    • Fix Version/s: 0.23.1, 1.1.0
    • Component/s: webhdfs
    • Labels:
      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"

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

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Harsh J
            Reporter:
            Harsh J
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development