yeshavora created HDFS-4793:
-------------------------------
Summary: uploading file larger than the spaceQuota limit should
not create 0 byte file
Key: HDFS-4793
URL: https://issues.apache.org/jira/browse/HDFS-4793
Project: Hadoop HDFS
Issue Type: Bug
Components: namenode
Affects Versions: 1.2.0
Reporter: yeshavora
Set the spaceQuota size for Dir A = 64MB.
Try to upload a largefile of 1GB in Dir A.
The copyFromLocal operation fails but creates 0 byte file on HDFS.
[User1@Machine1]$ hadoop fs -ls /A
Found 1 items
-rwx------ 1 User1 User1 0 2013-05-02 22:29 /A/1GB
Expected Behavior:
It should not create any 0 byte File
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira