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

uploading file larger than the spaceQuota limit should not create 0 byte file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.2.0
    • None
    • namenode
    • None

    Description

      Set the spaceQuota size for Dir A = 64MB.
      Try to upload a largefile of 1GB in Dir A.
      The copyFromLocal operation fails but creates 0 byte file on HDFS.

      [User1@Machine1]$ hadoop fs -ls /A
      Found 1 items
      rwx----- 1 User1 User1 0 2013-05-02 22:29 /A/1GB

      Expected Behavior:
      It should not create any 0 byte File

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              yeshavora Yesha Vora
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: