You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Authur Wang (Jira)" <ji...@apache.org> on 2023/09/13 01:43:00 UTC

[jira] [Updated] (YARN-11568) hadoop distcp needs support to filter by file/directory attribute

     [ https://issues.apache.org/jira/browse/YARN-11568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Authur Wang updated YARN-11568:
-------------------------------
    Description: 
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 method, we can introduce a more fluent way to do things than  public abstract boolean shouldCopy(Path path).

  was:In some circumstances, we need to filter file/directory by file/directroy


> hadoop distcp needs support to filter by file/directory attribute
> -----------------------------------------------------------------
>
>                 Key: YARN-11568
>                 URL: https://issues.apache.org/jira/browse/YARN-11568
>             Project: Hadoop YARN
>          Issue Type: New Feature
>          Components: applications
>    Affects Versions: 3.3.6
>            Reporter: Authur Wang
>            Priority: Minor
>             Fix For: 3.3.6
>
>
> 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 method, 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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org