Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
All
Description
Currently disk space quota exceed exception spits out stack trace . It's better to show error message instead of stack trace .
somehost:Hadoop guesti$ bin/hdfs dfsadmin -setSpaceQuota 2 2344 somehost:Hadoop guest$ bin/hadoop fs -put conf 2344 09/06/19 16:44:30 WARN hdfs.DFSClient: DataStreamer Exception: org.apache.hadoop.hdfs.protocol.QuotaExceededException: org.apache.hadoop.hdfs.protocol.QuotaExceededException: The quota of /user/guest/2344 is exceeded: namespace quota=-1 file count=4, diskspace quota=2 diskspace=67108864 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) ..................
Attachments
Issue Links
- duplicates
-
HDFS-2360 Ugly stacktrace when quota exceeds
- Resolved