Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-34357

IllegalAnnotationsException causes "PyFlink YARN per-job on Docker test" e2e test to fail

    XMLWordPrintableJSON

Details

    Description

      https://github.com/apache/flink/actions/runs/7763815214/job/21176570116#step:14:10009

      Feb 03 03:29:04 SEVERE: Failed to generate the schema for the JAX-B elements
      Feb 03 03:29:04 javax.xml.bind.JAXBException
      Feb 03 03:29:04  - with linked exception:
      Feb 03 03:29:04 [java.lang.reflect.InvocationTargetException]
      Feb 03 03:29:04 	at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:262)
      Feb 03 03:29:04 	at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:234)
      [...]
      Feb 03 03:29:04 	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
      Feb 03 03:29:04 Caused by: java.lang.reflect.InvocationTargetException
      Feb 03 03:29:04 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      Feb 03 03:29:04 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      Feb 03 03:29:04 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      Feb 03 03:29:04 	at java.lang.reflect.Method.invoke(Method.java:498)
      Feb 03 03:29:04 	at org.apache.hadoop.yarn.server.applicationhistoryservice.webapp.ContextFactory.createContext(ContextFactory.java:44)
      Feb 03 03:29:04 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      Feb 03 03:29:04 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      Feb 03 03:29:04 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      Feb 03 03:29:04 	at java.lang.reflect.Method.invoke(Method.java:498)
      Feb 03 03:29:04 	at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:247)
      Feb 03 03:29:04 	... 57 more
      Feb 03 03:29:04 Caused by: com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
      Feb 03 03:29:04 java.util.Set is an interface, and JAXB can't handle interfaces.
      Feb 03 03:29:04 	this problem is related to the following location:
      Feb 03 03:29:04 		at java.util.Set
      Feb 03 03:29:04 		at public java.util.HashMap org.apache.hadoop.yarn.api.records.timeline.TimelineEntity.getPrimaryFiltersJAXB()
      Feb 03 03:29:04 		at org.apache.hadoop.yarn.api.records.timeline.TimelineEntity
      Feb 03 03:29:04 		at public java.util.List org.apache.hadoop.yarn.api.records.timeline.TimelineEntities.getEntities()
      Feb 03 03:29:04 		at org.apache.hadoop.yarn.api.records.timeline.TimelineEntities
      Feb 03 03:29:04 
      Feb 03 03:29:04 	at com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:91)
      Feb 03 03:29:04 	at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:445)
      Feb 03 03:29:04 	at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:277)
      Feb 03 03:29:04 	at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:124)
      Feb 03 03:29:04 	at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1123)
      Feb 03 03:29:04 	at com.sun.xml.internal.bind.v2.ContextFactory.createContext(ContextFactory.java:147)
      Feb 03 03:29:04 	... 67 more
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mapohl Matthias Pohl
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: