Steve Loughran created HADOOP-16572:
---------------------------------------

             Summary: S3A DT support to warn when loading expired token
                 Key: HADOOP-16572
                 URL: https://issues.apache.org/jira/browse/HADOOP-16572
             Project: Hadoop Common
          Issue Type: Sub-task
          Components: fs/s3
    Affects Versions: 3.3.0
         Environment: CLI with HADOOP_TOKEN_PATH pointing at a file from the 
day before, containing an assumed Role DT, which was being loaded ahead of any 
setting in the XML file
            Reporter: Steve Loughran
            Assignee: Steve Loughran


(This just cost me half an hour as somehow as working CLI command stopped 
working since the day before, and I've been playing with endpoints and signing 
before I realised it)

_If the DT provider code loads a token from a file, it doesn't check or warn 
for an expired token -all you get is a 400 Bad request failure_

This not at all obvious.

Proposed
* WARN if now > expiry
* extra entry in troubleshooting for 400



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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

Reply via email to