[ 
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
(v6.1.5#6160)

Reply via email to