Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Cannot Reproduce
-
2.1.0-beta
-
None
-
None
-
None
Description
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.