Details
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:
Since we can determine that this call did not succeed (boolean=false) we should rather just return a 403
Attachments
Attachments
Issue Links
- incorporates
-
HDFS-2426 webhdfs GETFILESTATUAS for a path that does not exist returns a 200 instead of a 404
- Closed
-
HDFS-2438 webhdfs setowner and send an empty value for owner returns a 200 and does a no-op, we should return a 400 instead
- Closed
-
HDFS-2468 webhdfs create a file and send permission does not set the permission to the expected value
- Closed
-
HDFS-2508 webhdfs getfileblocklocations is not returning the correct block information when multiple blocks are present
- Closed