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

ASF GitHub Bot commented on FLINK-9996:
---------------------------------------

zentol opened a new pull request #6454: [FLINK-9996][fs] Wrap exceptions during 
FS creation
URL: https://github.com/apache/flink/pull/6454
 
 
   ## What is the purpose of the change
   
   This PR is a small modification to the hadoop `AbstractFileSystemFactory` 
too wrap all exceptions that occur during the creation of a FileSystem in a 
`IOException`, like we did in the past.
   This behavior was modified in 7be07871c23b56547add4cd85e15b95c757f882b.
   
   ## Verifying this change
   
   * run `PrestoS3FileSystemITCase#testConfigKeysForwarding`
   
   ## Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): (no)
     - The public API, i.e., is any changed class annotated with 
`@Public(Evolving)`: (no)
     - The serializers: (no)
     - The runtime per-record code paths (performance sensitive): (no)
     - Anything that affects deployment or recovery: JobManager (and its 
components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
     - The S3 file system connector: (yes)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> PrestoS3FileSystemITCase#testConfigKeysForwarding fails on travis
> -----------------------------------------------------------------
>
>                 Key: FLINK-9996
>                 URL: https://issues.apache.org/jira/browse/FLINK-9996
>             Project: Flink
>          Issue Type: Bug
>          Components: FileSystem, Tests
>    Affects Versions: 1.6.0
>            Reporter: Chesnay Schepler
>            Assignee: Chesnay Schepler
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.6.0
>
>
> https://travis-ci.org/apache/flink/jobs/409590482
> {code}
> Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.838 sec <<< 
> FAILURE! - in org.apache.flink.fs.s3presto.PrestoS3FileSystemITCase
> testConfigKeysForwarding(org.apache.flink.fs.s3presto.PrestoS3FileSystemITCase)
>   Time elapsed: 1.613 sec  <<< ERROR!
> java.lang.RuntimeException: S3 credentials not configured
>       at 
> com.facebook.presto.hive.PrestoS3FileSystem.getAwsCredentialsProvider(PrestoS3FileSystem.java:702)
>       at 
> com.facebook.presto.hive.PrestoS3FileSystem.createAmazonS3Client(PrestoS3FileSystem.java:628)
>       at 
> com.facebook.presto.hive.PrestoS3FileSystem.initialize(PrestoS3FileSystem.java:212)
>       at 
> org.apache.flink.runtime.fs.hdfs.AbstractFileSystemFactory.create(AbstractFileSystemFactory.java:56)
>       at 
> org.apache.flink.core.fs.FileSystem.getUnguardedFileSystem(FileSystem.java:395)
>       at org.apache.flink.core.fs.FileSystem.get(FileSystem.java:318)
>       at org.apache.flink.core.fs.Path.getFileSystem(Path.java:298)
>       at 
> org.apache.flink.fs.s3presto.PrestoS3FileSystemITCase.testConfigKeysForwarding(PrestoS3FileSystemITCase.java:84)
> {code}



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

Reply via email to