Stack trace on spaceQuota excced .
----------------------------------
Key: HADOOP-6095
URL: https://issues.apache.org/jira/browse/HADOOP-6095
Project: Hadoop Core
Issue Type: Bug
Components: dfs
Environment: All
Reporter: Ravi Phulari
Currently disk space quota exceed exception spits out stack trace . It's better
to show error message instead of stack trace .
{code}
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)
..................
{code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.