XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.20.205.0
    • 0.23.0, 1.0.0
    • webhdfs
    • None
    • Reviewed

    Description

      Currently the set replication api on a directory leads to a 200.

      Request URI http://NN:50070/webhdfs/tmp/webhdfs_data/dir_replication_tests?op=SETREPLICATION&replication=5
      Request Method: PUT
      Status Line: HTTP/1.1 200 OK
      Response Content:

      {"boolean":false}

      Since we can determine that this call did not succeed (boolean=false) we should rather just return a 403

      Attachments

        1. h2432_20111027.patch
          16 kB
          Tsz-wo Sze
        2. h2432_20111027_0.20s.patch
          16 kB
          Tsz-wo Sze
        3. h2432_20111026.patch
          15 kB
          Tsz-wo Sze
        4. h2432_20111026_0.20s.patch
          16 kB
          Tsz-wo Sze

        Issue Links

          Activity

            People

              szetszwo Tsz-wo Sze
              arpitgupta Arpit Gupta
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: