Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15620 Über-jira: S3A phase VI: Hadoop 3.3 features
  3. HADOOP-14707

AbstractContractDistCpTest to test attr preservation with -p, verify blobstores downgrade

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.9.0
    • Fix Version/s: None
    • Component/s: fs, fs/azure, fs/s3, test, tools/distcp
    • Labels:
      None

      Description

      It may be that trying to use distcp -p with S3a triggers a stack trace

      java.lang.UnsupportedOperationException: S3AFileSystem doesn't support getXAttrs 
      at org.apache.hadoop.fs.FileSystem.getXAttrs(FileSystem.java:2559) 
      at org.apache.hadoop.tools.util.DistCpUtils.toCopyListingFileStatus(DistCpUtils.java:322) 
      

      Add a test to AbstractContractDistCpTest to verify that this is handled better. What is "handle better" here? Either ignore the option or fail with "don't do that" text

        Attachments

        1. HADOOP-14707-003.patch
          21 kB
          Steve Loughran
        2. HADOOP-14707-002.patch
          16 kB
          Steve Loughran
        3. HADOOP-14707-001.patch
          3 kB
          Steve Loughran

          Issue Links

            Activity

              People

              • Assignee:
                stevel@apache.org Steve Loughran
                Reporter:
                stevel@apache.org Steve Loughran
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: