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

Quota exceed exception creates file of size 0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • None
    • None

    Description

      Empty file of size 0 is created when QuotaExceed exception occurs while copying a file. This file is created with the same name of which file copy is tried .
      I.E if operation
      Hadoop fs -copyFromLocal testFile1 /testDir
      Fails due to quota exceed exception then testFile1 of size 0 is created in testDir on HDFS.

      Steps to verify

      1) Create testDir and apply space quota of 16kb
      2) Copy file say testFile of size greater than 16kb from local file system
      3) You should see QuotaException error
      4) testFile of size 0 is created in testDir which is not expected .

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              raviphulari Ravi Phulari
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: