[
https://issues.apache.org/jira/browse/SQOOP-3383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16611697#comment-16611697
]
Hudson commented on SQOOP-3383:
-------------------------------
SUCCESS: Integrated in Jenkins build Sqoop-hadoop200 #1208 (See
[https://builds.apache.org/job/Sqoop-hadoop200/1208/])
SQOOP-3383: Disable FileSystem static cache in S3 tests (vasas:
[https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=932822aa8fdddeb0aff6445d4f585a599ccb0084])
* (edit) src/test/org/apache/sqoop/testutil/S3TestUtils.java
> 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
> Fix For: 3.0.0
>
> 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)