Authur Wang created HADOOP-18891:
------------------------------------
Summary: 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
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]