dannycjones commented on PR #4753:
URL: https://github.com/apache/hadoop/pull/4753#issuecomment-1224331509

   Unfortunately, the errors can be a bit vague for S3 HeadObject (used by 
getFileStatus). There was a similar issue when the credentials had expired in 
HADOOP-18353.
   
   ```
   ...
   Authorization: AWS4-HMAC-SHA256 
Credential=<redacted>/20220823/us-east-1/s3/aws4_request
   ...
   ```
   
   The signature is signed for us-east-1, but the `landsat-pds` bucket is in 
us-west-2. Do you have `fs.s3a.endpoint.region` set? If so, try adding the 
following to your _auth-keys.xml_:
   
   ```
   <property>
     <name>fs.s3a.bucket.landsat-pds.endpoint.region</name>
     <value>us-west-2</value>
   </property> 
   ```


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to