You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Ravi Prakash (JIRA)" <ji...@apache.org> on 2011/06/28 18:24:16 UTC
[jira] [Commented] (HADOOP-7430) Improve error message when moving
to trash fails due to quota issue
[ https://issues.apache.org/jira/browse/HADOOP-7430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13056610#comment-13056610 ]
Ravi Prakash commented on HADOOP-7430:
--------------------------------------
Courtesy Rajit Saha
{quote}https://issues.apache.org/jira/browse/HADOOP-6203 surfaces again.
now -rmr is depreciated and using -rm -R and not seeing following messeges in output
Consider using -skipTrash option
and
Problem with Trash.The NameSpace quota (directories and files) of directory /user/someUser is exceeded: quota=5 file
count=6
The only messege coming -
rm: Failed to move to trash: hdfs://localhost:8020/user/someUser/a/b/c
{quote}
Also from Rajit,
{quote}found another scenario when "use -skipTrash" is not promted
$hdfs dfs -rm -R .
rm: Cannot move "hdfs://<namenode>:8020/user/<user>" to the trash, as it contains the trash
Previously same command use to print the following
Problem with Trash.. Consider using -skipTrash option
rm: Cannot move "hdfs://<namenode>:8020/user/<user>" to the trash, as it contains the trash"
{quote}
> Improve error message when moving to trash fails due to quota issue
> -------------------------------------------------------------------
>
> Key: HADOOP-7430
> URL: https://issues.apache.org/jira/browse/HADOOP-7430
> Project: Hadoop Common
> Issue Type: Improvement
> Components: fs
> Reporter: Ravi Prakash
> Assignee: Ravi Prakash
> Priority: Minor
>
> -rm command doesn't suggest -skipTrash on failure.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira