Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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.
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)
Attachments
Issue Links
- is caused by
-
FLINK-13748 Streaming File Sink s3 end-to-end test failed on Travis
- Closed
- links to