[
https://issues.apache.org/jira/browse/HDFS-4891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13748795#comment-13748795
]
Brandon Li commented on HDFS-4891:
----------------------------------
[~tassapola] I can't reproduce this issue with branch2.1-beta. The return code
is 1 in my test.
> Incorrect exit code when copying a file bigger than given quota
> ---------------------------------------------------------------
>
> Key: HDFS-4891
> URL: https://issues.apache.org/jira/browse/HDFS-4891
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 2.1.0-beta
> Reporter: Tassapol Athiapinya
>
> Exit code is incorrect for hdfs command.
> ===Repro step===
> 1. Set quota on a directory in HDFS.
> 2. Get a file of which the size is bigger than given quota
> 3. Do $ hdfs fs -copyFromLocal command to copy the file to HDFS
> 4. There will be an exception. That is expected error message.
> Exit code will be zero. This is incorrect.
--
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