hadoop-hdfs-issues mailing list archives

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

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

Fengdong Yu commented on HDFS-5916:

I don't think you cannot bulk delete currently.

such as:
hadoop fs -rm -r -skipTrash /user/test*

> 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