[ https://issues.apache.org/jira/browse/HDFS-7588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14276192#comment-14276192 ]
Ravi Prakash commented on HDFS-7588: ------------------------------------ Ok! I have a predicament now: https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/WebHDFS.html#Create_and_Write_to_a_File says bq. Submit a HTTP PUT request *without automatically following redirects* and without sending the file data. Whereas XMLHttpRequest's specification says that it MUST follow redirects transparently: http://www.w3.org/TR/XMLHttpRequest1/#infrastructure-for-the-send-method . There seems to be an argument in the community: http://discourse.specifiction.org/t/followredirects-in-xmlhttprequest/420/6 I can't see another way of implementing file uploads via the browser using WebHDFS without changing WebHDFS to return something other than a 307 code on op=CREATE. [~szetszwo] [~wheat9] Do you have any suggestions / pointers? > Improve the HDFS Web UI browser to allow chowning / chmoding, creating dirs > and uploading files > ----------------------------------------------------------------------------------------------- > > Key: HDFS-7588 > URL: https://issues.apache.org/jira/browse/HDFS-7588 > Project: Hadoop HDFS > Issue Type: Improvement > Reporter: Ravi Prakash > Attachments: HDFS-7588.01.patch, HDFS-7588.02.patch > > > The new HTML5 web browser is neat, however it lacks a few features that might > make it more useful: > 1. chown > 2. chmod > 3. Uploading files > 4. mkdir -- This message was sent by Atlassian JIRA (v6.3.4#6332)