[
https://issues.apache.org/jira/browse/FLINK-13893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chesnay Schepler closed FLINK-13893.
------------------------------------
Resolution: Fixed
master: 95881a95ddf3755e6dfe836ea161ba757ca049b8
> S3 tests are failing due to missing jaxb dependency
> ---------------------------------------------------
>
> Key: FLINK-13893
> URL: https://issues.apache.org/jira/browse/FLINK-13893
> Project: Flink
> Issue Type: Sub-task
> Components: FileSystems
> Reporter: Chesnay Schepler
> Assignee: Chesnay Schepler
> Priority: Major
> Fix For: 1.10.0
>
>
> The (hadoop/presto) S3 filesystems make use of javax.xml.bind but does not
> declare a dependency on {{jaxb-api}} and relies on the JDK containing this
> class. This is no longer the case on Java 11; we have to add it as a
> dependency and bundle it in the jar.
> {code}
> 16:20:12.975 [ERROR] Tests run: 3, Failures: 0, Errors: 2, Skipped: 0, Time
> elapsed: 5.691 s <<< FAILURE! - in
> org.apache.flink.fs.s3hadoop.HadoopS3RecoverableWriterExceptionITCase
> 16:20:12.992 [ERROR]
> testResumeAfterCommit(org.apache.flink.fs.s3hadoop.HadoopS3RecoverableWriterExceptionITCase)
> Time elapsed: 5.067 s <<< ERROR!
> java.lang.Exception: Unexpected exception, expected<java.io.IOException> but
> was<java.lang.NoClassDefFoundError>
> at
> org.apache.flink.fs.s3hadoop.HadoopS3RecoverableWriterExceptionITCase.testResumeAfterCommit(HadoopS3RecoverableWriterExceptionITCase.java:165)
> Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBException
> at
> org.apache.flink.fs.s3hadoop.HadoopS3RecoverableWriterExceptionITCase.testResumeAfterCommit(HadoopS3RecoverableWriterExceptionITCase.java:165)
> 16:20:12.992 [ERROR]
> testResumeWithWrongOffset(org.apache.flink.fs.s3hadoop.HadoopS3RecoverableWriterExceptionITCase)
> Time elapsed: 0.194 s <<< ERROR!
> java.lang.Exception: Unexpected exception, expected<java.io.IOException> but
> was<java.lang.NoClassDefFoundError>
> at
> org.apache.flink.fs.s3hadoop.HadoopS3RecoverableWriterExceptionITCase.testResumeWithWrongOffset(HadoopS3RecoverableWriterExceptionITCase.java:185)
> Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBException
> at
> org.apache.flink.fs.s3hadoop.HadoopS3RecoverableWriterExceptionITCase.testResumeWithWrongOffset(HadoopS3RecoverableWriterExceptionITCase.java:185)
> {code}
> https://api.travis-ci.org/v3/job/577860512/log.txt
--
This message was sent by Atlassian Jira
(v8.3.2#803003)