Jagadesh Kiran N created HDFS-9335: -------------------------------------- Summary: Webhdfs hangs when folder is used for Append Key: HDFS-9335 URL: https://issues.apache.org/jira/browse/HDFS-9335 Project: Hadoop HDFS Issue Type: Bug Reporter: Jagadesh Kiran N Assignee: Jagadesh Kiran N Priority: Critical
a. Submit HTTP POST request using the URL in the Location header with the file data to be appended {code} curl -i -X POST -T /opt/folder/file "http://host-10-19-92-117:50075/webhdfs/v1/folder1/file1?op=APPEND&namenoderpcaddress=hacluster&buffersize=1" {code} b. The client receives a response with zero content length c. Now execute the same for a folder (/opt/folder) rather than Local file {code} curl -i -X POST -T /opt/folder "http://host-10-19-92-117:50075/webhdfs/v1/folder1/file1?op=APPEND&namenoderpcaddress=hacluster&buffersize=1" {code} d. No response will be given to the user and it will hang -- This message was sent by Atlassian JIRA (v6.3.4#6332)