setQuotas error message is confusing when admin tries to setQuota on a file.
----------------------------------------------------------------------------
Key: HADOOP-3572
URL: https://issues.apache.org/jira/browse/HADOOP-3572
Project: Hadoop Core
Issue Type: Improvement
Reporter: Mahadev konar
Assignee: Hairong Kuang
Priority: Minor
Fix For: 0.19.0
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.