You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2021/02/22 12:22:38 UTC

[GitHub] [hadoop] mehakmeet commented on pull request #2706: HADOOP-13887. Support S3 client side encryption (S3-CSE) using AWS-SDK

mehakmeet commented on pull request #2706:
URL: https://github.com/apache/hadoop/pull/2706#issuecomment-783336386


   Added the "UNENCRYPTED_CONTENT_LENGTH" header in getFileStatus calls and replaced the content length with it if client-side encryption(CSE) is enabled. This helped pass the initial set of tests for all methods of CSE, but after adding a "Directory Listing" test to check the content lengths of files of different sizes, it broke:
   
   ```
   [INFO] Results:
   [INFO]
   [ERROR] Failures:
   [ERROR]   ITestS3AEncryptionCSESymmetric>ITestS3AEncryptionCSE.testDirectoryListingFileLengths:105 [File length isn't same as expected from directory listing]
   Expecting:
     <[16, 17, 271, 4111]>
   to contain exactly in any order:
     <[0, 1, 255, 4095]>
   elements not found:
     <[0, 1, 255, 4095]>
   and elements not expected:
     <[16, 17, 271, 4111]>
   
   [INFO]
   [ERROR] Tests run: 3, Failures: 1, Errors: 0, Skipped: 0
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org