Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.20.205.0
    • Fix Version/s: 0.23.0, 1.0.0
    • Component/s: webhdfs
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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 Nicholas Sze
        2. h2432_20111027_0.20s.patch
          16 kB
          Tsz Wo Nicholas Sze
        3. h2432_20111026.patch
          15 kB
          Tsz Wo Nicholas Sze
        4. h2432_20111026_0.20s.patch
          16 kB
          Tsz Wo Nicholas Sze

          Issue Links

            Activity

              People

              • Assignee:
                szetszwo Tsz Wo Nicholas Sze
                Reporter:
                arpitgupta Arpit Gupta
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: