hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simbarashe Dzinamarira (Jira)" <j...@apache.org>
Subject [jira] [Created] (HDFS-14773) SWEBHDFS closes the connection before a client can read the error response for a DSQuotaExceededException
Date Fri, 23 Aug 2019 22:27:00 GMT
Simbarashe Dzinamarira created HDFS-14773:
---------------------------------------------

             Summary: SWEBHDFS closes the connection before a client can read the error response
for a DSQuotaExceededException
                 Key: HDFS-14773
                 URL: https://issues.apache.org/jira/browse/HDFS-14773
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: webhdfs
            Reporter: Simbarashe Dzinamarira


When a DSQuotaExceededException is encountered using swebhdfs, the connection is closed before
the client can read the error response. This does not happen for webhdfs.

Below are steps to recreate the issue.

*1) Create a directory and set a space quota*

hdfs mkdir <directory-with-quota>

hdfs dfsadmin -setSpaceQuota <N> <directory-with-quota> 

*2) Write a file whose size exceeds the quota, using swebhdfs.*

curl -L -i --negotiate -u : -X PUT -T largeFile "<namenode-url>:<port>/webhdfs/v1/<directory-with-quota>/largeFile?op=CREATE"



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message