[
https://issues.apache.org/jira/browse/HDFS-15484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18044552#comment-18044552
]
ASF GitHub Bot commented on HDFS-15484:
---------------------------------------
github-actions[bot] closed pull request #2235: HDFS-15484. Add new method
batchRename for DistributedFileSystem and W…
URL: https://github.com/apache/hadoop/pull/2235
> Add new method batchRename for DistributedFileSystem and WebHdfsFileSystem
> --------------------------------------------------------------------------
>
> Key: HDFS-15484
> URL: https://issues.apache.org/jira/browse/HDFS-15484
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: dfsclient, namenode, performance
> Affects Versions: 3.3.0
> Reporter: Yang Yun
> Assignee: Yang Yun
> Priority: Minor
> Labels: pull-request-available
> Attachments: HDFS-15484.001.patch, HDFS-15484.002.patch,
> HDFS-15484.003.patch
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> Sometime we need rename many files after a task, add a new option in enum
> Rename to support batch rename, which only need one RPC and one lock. For
> example,
> rename(new Path("/dir1/f1::/dir2/f2"), new Path("/dir3/f1::dir4/f4"),
> Rename.BATCH)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]