hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ravi Prakash (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7430) Improve error message when moving to trash fails due to quota issue
Date Tue, 12 Jul 2011 15:29:59 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-7430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13063954#comment-13063954
] 

Ravi Prakash commented on HADOOP-7430:
--------------------------------------

Hi Daryn, 

I can't do a blanket catch of IOException and print the suggestion to use skipTrash because
moveToTrash() might throw a FileNotFoundException in which case it doesn't really make sense
to print that message.
I'm not too fond either of this way and like I said before, I'd love to do an instanceof but
unfortunately its not really an option here. Unless ofcourse we move all of FSShell into HDFS
or the exception classes into common. ;-) 



> 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
>         Attachments: HADOOP-7430.1.patch, HADOOP-7430.2.patch
>
>
> -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

        

Mime
View raw message