mukund-thakur commented on pull request #3133:
URL: https://github.com/apache/hadoop/pull/3133#issuecomment-867603192


   Test run in progress.  I  have commented the region field in ~/.aws/config
   I see failures like 
   `[ERROR] 
testCreateWithRenewer(org.apache.hadoop.fs.s3a.auth.delegation.ITestSessionDelegationTokens)
  Time elapsed: 0.827 s  <<< ERROR!
   com.amazonaws.SdkClientException: Unable to find a region via the region 
provider chain. Must provide an explicit region in the builder or setup 
environment to supply a region.
        at 
com.amazonaws.client.builder.AwsClientBuilder.setRegion(AwsClientBuilder.java:462)
        at 
com.amazonaws.client.builder.AwsClientBuilder.configureMutableProperties(AwsClientBuilder.java:424)
        at 
com.amazonaws.client.builder.AwsSyncClientBuilder.build(AwsSyncClientBuilder.java:46)
        at 
org.apache.hadoop.fs.s3a.auth.delegation.SessionTokenBinding.maybeInitSTS(SessionTokenBinding.java:312)
        at 
org.apache.hadoop.fs.s3a.auth.delegation.SessionTokenBinding.prepareSTSClient(SessionTokenBinding.java:341)
        at 
org.apache.hadoop.fs.s3a.auth.delegation.SessionTokenBinding.createTokenIdentifier(SessionTokenBinding.java:362)
        at 
org.apache.hadoop.fs.s3a.auth.delegation.SessionTokenBinding.createTokenIdentifier(SessionTokenBinding.java:63)
        at 
org.apache.hadoop.fs.s3a.auth.delegation.AbstractDelegationTokenBinding.createDelegationToken(AbstractDelegationTokenBinding.java:142)
        at 
org.apache.hadoop.fs.s3a.auth.delegation.S3ADelegationTokens.lambda$createDelegationToken$0(S3ADelegationTokens.java:435)
        at 
org.apache.hadoop.fs.statistics.impl.IOStatisticsBinding.lambda$trackDurationOfOperation$5(IOStatisticsBinding.java:499)
        at 
org.apache.hadoop.fs.statistics.impl.IOStatisticsBinding.trackDuration(IOStatisticsBinding.java:444)
        at 
org.apache.hadoop.fs.s3a.auth.delegation.S3ADelegationTokens.createDelegationToken(S3ADelegationTokens.java:433)
        at 
org.apache.hadoop.fs.s3a.auth.delegation.ITestSessionDelegationTokens.testCreateWithRenewer(ITestSessionDelegationTokens.java:230)`


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



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