[
https://issues.apache.org/jira/browse/HADOOP-18891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18029361#comment-18029361
]
ASF GitHub Bot commented on HADOOP-18891:
-----------------------------------------
github-actions[bot] closed pull request #6070: HADOOP-18891 hadoop distcp needs
support to filter by file/directory attribute
URL: https://github.com/apache/hadoop/pull/6070
> hadoop distcp needs support to filter by file/directory attribute
> -----------------------------------------------------------------
>
> Key: HADOOP-18891
> URL: https://issues.apache.org/jira/browse/HADOOP-18891
> Project: Hadoop Common
> Issue Type: New Feature
> Components: tools/distcp
> Affects Versions: 3.3.6
> Environment: hadoop3.3.6
> Reporter: Authur Wang
> Priority: Major
> Labels: pull-request-available
>
> In some circumstances, we need to filter file/directory by file/directroy.
> For example, we need to filter out them by file modified time, isDir attrs,
> etc.
> So, *should we introduce a new method public boolean
> shouldCopy(CopyListingFileStatus fileStatus)* ?
> by this approach, we can introduce a more fluent way to do things than
> public abstract boolean shouldCopy(Path path).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]