Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-18891

hadoop distcp needs support to filter by file/directory attribute

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.3.6
    • None
    • tools/distcp
    • hadoop3.3.6

    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 approach, we can introduce a more fluent way to do things than  public abstract boolean shouldCopy(Path path).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              AuthurWang Authur Wang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: