[ https://issues.apache.org/jira/browse/HDFS-4891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tassapol Athiapinya resolved HDFS-4891. --------------------------------------- Resolution: Cannot Reproduce > 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