hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Shelukhin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-5916) provide API to bulk delete directories/files
Date Mon, 10 Feb 2014 03:56:19 GMT

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

Sergey Shelukhin commented on HDFS-5916:

I mean the programmatic API (e.g. on FileSystem class) for an arbitrary list of directories
(which have common parent sub-tree in these cases, but don't have to I guess).
i.e. List<Path> dirList = ...; FileSystem fs = ...; fs.deleteAll(dirList);

> provide API to bulk delete directories/files
> --------------------------------------------
>                 Key: HDFS-5916
>                 URL: https://issues.apache.org/jira/browse/HDFS-5916
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Sergey Shelukhin
> It would be nice to have an API to delete directories and files in bulk - for example,
when deleting Hive partitions or HBase regions in large numbers, the code could avoid many
trips to NN. 

This message was sent by Atlassian JIRA

View raw message