[ https://issues.apache.org/jira/browse/HDFS-15484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17181271#comment-17181271 ]
Steve Loughran commented on HDFS-15484: --------------------------------------- github PR should be a matter of -push the branch to your own github repo -from the github UI, navigate to that branch and create a PR against the apache/hadoop repo > 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 > Attachments: HDFS-15484.001.patch, HDFS-15484.002.patch, > HDFS-15484.003.patch > > > 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.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org