Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-147

Stack trace on spaceQuota excced .

    XMLWordPrintableJSON

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

          Activity

            People

              xyao Xiaoyu Yao
              raviphulari Ravi Phulari
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: