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 "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/03/16 16:50:00 UTC

[jira] [Work logged] (HADOOP-17305) ITestCustomSigner fails with gcs s3 compatible endpoint.

     [ https://issues.apache.org/jira/browse/HADOOP-17305?focusedWorklogId=567106&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-567106 ]

ASF GitHub Bot logged work on HADOOP-17305:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 16/Mar/21 16:49
            Start Date: 16/Mar/21 16:49
    Worklog Time Spent: 10m 
      Work Description: steveloughran commented on pull request #2395:
URL: https://github.com/apache/hadoop/pull/2395#issuecomment-800431767


   having problems with this and a bucket in ireland where I haven't fixed the endpoint up
   
   ```
   [ERROR] testCustomSignerAndInitializer(org.apache.hadoop.fs.s3a.auth.ITestCustomSigner)  Time elapsed: 2.368 s  <<< ERROR!
   org.apache.hadoop.fs.s3a.AWSRedirectException: getFileStatus on s3a://stevel-ireland/test: com.amazonaws.services.s3.model.AmazonS3Exception: The bucket is in this region: eu-west-1. Please use this region to retry the request (Service: Amazon S3; Status Code: 301; Error Code: 301 Moved Permanently; Request ID: SJEZVWBWMKBDV37V; S3 Extended Request ID: UqxxO/6T1TrsbAE7rs3r/FrExYA8ealw8h+Zr+AxiM6ZxoFu6ZslTqUryhcsaT6XG5DrxtUccTg=; Proxy: null), S3 Extended Request ID: UqxxO/6T1TrsbAE7rs3r/FrExYA8ealw8h+Zr+AxiM6ZxoFu6ZslTqUryhcsaT6XG5DrxtUccTg=:301 Moved Permanently: The bucket is in this region: eu-west-1. Please use this region to retry the request (Service: Amazon S3; Status Code: 301; Error Code: 301 Moved Permanently; Request ID: SJEZVWBWMKBDV37V; S3 Extended Request ID: UqxxO/6T1TrsbAE7rs3r/FrExYA8ealw8h+Zr+AxiM6ZxoFu6ZslTqUryhcsaT6XG5DrxtUccTg=; Proxy: null)
   	at org.apache.hadoop.fs.s3a.S3AUtils.translateException(S3AUtils.java:236)
   	at org.apache.hadoop.fs.s3a.S3AUtils.translateException(S3AUtils.java:170)
   	at org.apache.hadoop.fs.s3a.S3AFileSystem.s3GetFileStatus(S3AFileSystem.java:3278)
   	at org.apache.hadoop.fs.s3a.S3AFileSystem.innerGetFileStatus(S3AFileSystem.java:3177)
   	at org.apache.hadoop.fs.s3a.S3AFileSystem.innerMkdirs(S3AFileSystem.java:3000)
   	at org.apache.hadoop.fs.s3a.S3AFileSystem.mkdirs(S3AFileSystem.java:2971)
   	at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:2387)
   	at org.apache.hadoop.fs.contract.AbstractFSContractTestBase.mkdirs(AbstractFSContractTestBase.java:361)
   	at org.apache.hadoop.fs.contract.AbstractFSContractTestBase.setup(AbstractFSContractTestBase.java:203)
   	at org.apache.hadoop.fs.s3a.AbstractS3ATestBase.setup(AbstractS3ATestBase.java:77)
   	at org.apache.hadoop.fs.s3a.auth.ITestCustomSigner.setup(ITestCustomSigner.java:67)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
   	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
   	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
   	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
   	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
   	at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
   	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298)
   	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292)
   	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   	at java.lang.Thread.run(Thread.java:748)
   Caused by: com.amazonaws.services.s3.model.AmazonS3Exception: The bucket is in this region: eu-west-1. Please use this region to retry the request (Service: Amazon S3; Status Code: 301; Error Code: 301 Moved Permanently; Request ID: SJEZVWBWMKBDV37V; S3 Extended Request ID: UqxxO/6T1TrsbAE7rs3r/FrExYA8ealw8h+Zr+AxiM6ZxoFu6ZslTqUryhcsaT6XG5DrxtUccTg=; Proxy: null), S3 Extended Request ID: UqxxO/6T1TrsbAE7rs3r/FrExYA8ealw
   ```
   This is in #2778 but I've just replicated it in trunk too. 


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


Issue Time Tracking
-------------------

    Worklog Id:     (was: 567106)
    Time Spent: 1h  (was: 50m)

> ITestCustomSigner fails with gcs s3 compatible endpoint. 
> ---------------------------------------------------------
>
>                 Key: HADOOP-17305
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17305
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>    Affects Versions: 3.3.0
>            Reporter: Mukund Thakur
>            Assignee: Mukund Thakur
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> CC [~sseth] [~stevel@apache.org]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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