mukund-thakur opened a new pull request #1823: HADOOP-16794 S3 Encryption key 
is not getting set properly during put operation.
URL: https://github.com/apache/hadoop/pull/1823
 
 
   Debugging details:
   When a put operation is performed without -d parameter is used, it happens 
in two steps. First is copying to a temporary file and then copying the temp 
file to the right location. The is issue is durning the copy step as an extra 
header "x-amz-server-side-encryption: aws:kms" is set. 
   When -d parameter is used, the file is uploaded directly and in that api 
call this kms header is not set. 
   
   Solution: Removing the kms header from the ClonedObjectMetatData.
   
   Testing: Tested by compiling the complete hadoop distribution and invoking 
the hadoop shell command locally. 
   Bucket used : https://mthakur-data.s3.ap-south-1.amazonaws.com/file2
   
   Please suggest how to write testcases for this. Thanks

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to