You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/09/12 07:01:00 UTC

[jira] [Commented] (SQOOP-3383) Disable FileSystem static cache in S3 tests

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

ASF subversion and git services commented on SQOOP-3383:
--------------------------------------------------------

Commit 932822aa8fdddeb0aff6445d4f585a599ccb0084 in sqoop's branch refs/heads/trunk from [~vasas]
[ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=932822a ]

SQOOP-3383: Disable FileSystem static cache in S3 tests

(Boglarka Egyed via Szabolcs Vasas)


> Disable FileSystem static cache in S3 tests
> -------------------------------------------
>
>                 Key: SQOOP-3383
>                 URL: https://issues.apache.org/jira/browse/SQOOP-3383
>             Project: Sqoop
>          Issue Type: Sub-task
>    Affects Versions: 1.4.7
>            Reporter: Boglarka Egyed
>            Assignee: Boglarka Egyed
>            Priority: Minor
>         Attachments: SQOOP-3383.patch, SQOOP-3383.patch
>
>
> FileSystem has a static cache meaning when the authentication happens in the org.apache.sqoop.testutil.S3TestUtils#setS3CredentialsInHadoopConf method Sqoop import will get the same FileSystem object from the cache thus its authentication via the \{{-Dfs.s3a.access.key}} and -{{Dfs.s3a.secret.key}} properties is effectless. See org.apache.hadoop.fs.FileSystem#get(java.net.URI, org.apache.hadoop.conf.Configuration). 
> This static cache should be disabled (by settin {{fs.s3a.impl.disable.cache}} to true) in the setup phase of the S3 tests to make sure Sqoop relies on the S3 credentials set via the -D properties.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)