hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nanda kumar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-13054) Handling PathIsNotEmptyDirectoryException in DFSClient delete call
Date Tue, 23 Jan 2018 20:43:00 GMT

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

Nanda kumar commented on HDFS-13054:
------------------------------------

Thanks for the suggestion, yeah it is good to have Assert if the delete doesn't throw any
Exception.

Added the same in patch v002.

> Handling PathIsNotEmptyDirectoryException in DFSClient delete call
> ------------------------------------------------------------------
>
>                 Key: HDFS-13054
>                 URL: https://issues.apache.org/jira/browse/HDFS-13054
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs-client
>            Reporter: Nanda kumar
>            Assignee: Nanda kumar
>            Priority: Major
>         Attachments: HDFS-13054.000.patch, HDFS-13054.001.patch, HDFS-13054.002.patch
>
>
> In {{DFSClient#delete}} call, if we get {{RemoteException(PathIsNotEmptyDirectoryException)}}
we should unwrap and throw {{PathIsNotEmptyDirectoryException}} to the caller.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message