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

Incorrect exit code when copying a file bigger than given quota

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 2.1.0-beta
    • None
    • None
    • None

    Description

      Exit code is incorrect for hdfs command.

      ===Repro step===
      1. Set quota on a directory in HDFS.
      2. Get a file of which the size is bigger than given quota
      3. Do $ hdfs fs -copyFromLocal command to copy the file to HDFS
      4. There will be an exception. That is expected error message.
      Exit code will be zero. This is incorrect.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tassapola Tassapol Athiapinya
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: