[
https://issues.apache.org/jira/browse/HDFS-147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Allen Wittenauer updated HDFS-147:
----------------------------------
Labels: newbie (was: )
> Stack trace on spaceQuota excced .
> ----------------------------------
>
> Key: HDFS-147
> URL: https://issues.apache.org/jira/browse/HDFS-147
> Project: Hadoop HDFS
> Issue Type: Bug
> Environment: All
> Reporter: Ravi Phulari
> Labels: newbie
>
> 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 was sent by Atlassian JIRA
(v6.2#6252)