[ 
https://issues.apache.org/jira/browse/HADOOP-13287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15338534#comment-15338534
 ] 

Steve Loughran commented on HADOOP-13287:
-----------------------------------------

-1. I'm afrad

I'm getting failures in a test, when I use a secret with a / in it

{code}
testInstantiateFromURL(org.apache.hadoop.fs.s3a.TestS3ACredentialsInURL)  Time 
elapsed: 0.146 sec  <<< FAILURE!
java.lang.AssertionError: test URI encodes the / symbol
        at org.junit.Assert.fail(Assert.java:88)
        at org.junit.Assert.assertTrue(Assert.java:41)
        at 
org.apache.hadoop.fs.s3a.TestS3ACredentialsInURL.testInstantiateFromURL(TestS3ACredentialsInURL.java:74)
{code}

Revert the patch and the test runs

The encoded string now contains "%252F"

> TestS3ACredentials#testInstantiateFromURL fails if AWS secret key contains 
> '+'.
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-13287
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13287
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs/s3, test
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>            Priority: Minor
>         Attachments: HADOOP-13287.001.patch
>
>
> HADOOP-3733 fixed accessing S3A with credentials on the command line for an 
> AWS secret key containing a '/'.  The patch added a new test suite: 
> {{TestS3ACredentialsInURL}}.  One of the tests fails if your AWS secret key 
> contains a '+'.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to