Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-3572

setQuotas usage interface has some minor bugs.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.18.0
    • None
    • None
    • Reviewed

    Description

      bin/hadoop dfsadmin -setQuota 5 /tmp/a

      here /tmp/a is a file.

      setQuota: java.io.FileNotFoundException: Directory does not exist: /tmp/a

      The error message should not say filenotfoundexception but something like input should be directory.

      Attachments

        1. fileQuota.patch
          0.9 kB
          Hairong Kuang
        2. fileQuota1.patch
          0.9 kB
          Hairong Kuang

        Activity

          People

            hairong Hairong Kuang
            mahadev Mahadev Konar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: