You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@streampark.apache.org by "gaojun121381 (via GitHub)" <gi...@apache.org> on 2024/09/04 03:03:09 UTC

[I] [Bug] Bug title [incubator-streampark]

gaojun121381 opened a new issue, #4028:
URL: https://github.com/apache/incubator-streampark/issues/4028

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-streampark/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues.
   
   
   ### Java Version
   
   1.78
   
   ### Scala Version
   
   2.11.x
   
   ### StreamPark Version
   
   2.1.4
   
   ### Flink Version
   
   1.13.5
   
   ### deploy mode
   
   yarn-session
   
   ### What happened
   
   Caused by: java.lang.LinkageError: loader constraint violation: when resolving interface method "org.apache.flink.connector.kafka.source.enumerator.initializer.OffsetsInitializer.committedOffsets(Lorg/apache/kafka/clients/consumer/OffsetResetStrategy;)Lorg/apache/flink/connector/kafka/source/enumerator/initializer/OffsetsInitializer;" the class loader (instance of org/apache/flink/util/ChildFirstClassLoader) of the current class, com/yzc/bigdata/flink/monitor/task/CompanyBehaviorCountTask, and the class loader (instance of org/apache/streampark/flink/proxy/ChildFirstClassLoader) for the method's defining class, org/apache/flink/connector/kafka/source/enumerator/initializer/OffsetsInitializer, have different Class objects for the type org/apache/kafka/clients/consumer/OffsetResetStrategy used in the signature
   
   ### Error Exception
   
   ```log
   Caused by: java.lang.LinkageError: loader constraint violation: when resolving interface method "org.apache.flink.connector.kafka.source.enumerator.initializer.OffsetsInitializer.committedOffsets(Lorg/apache/kafka/clients/consumer/OffsetResetStrategy;)Lorg/apache/flink/connector/kafka/source/enumerator/initializer/OffsetsInitializer;" the class loader (instance of org/apache/flink/util/ChildFirstClassLoader) of the current class, com/yzc/bigdata/flink/monitor/task/CompanyBehaviorCountTask, and the class loader (instance of org/apache/streampark/flink/proxy/ChildFirstClassLoader) for the method's defining class, org/apache/flink/connector/kafka/source/enumerator/initializer/OffsetsInitializer, have different Class objects for the type org/apache/kafka/clients/consumer/OffsetResetStrategy used in the signature
   ```
   
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!(您是否要贡献这个PR?)
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampark.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] loader constraint violation: when resolving interface [streampark]

Posted by "wolfboys (via GitHub)" <gi...@apache.org>.
wolfboys closed issue #4028: loader constraint violation: when resolving interface
URL: https://github.com/apache/streampark/issues/4028


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] loader constraint violation: when resolving interface [streampark]

Posted by "wolfboys (via GitHub)" <gi...@apache.org>.
wolfboys commented on issue #4028:
URL: https://github.com/apache/streampark/issues/4028#issuecomment-5523061314

   Thanks for your feedback. We are closing this issue because it is outdated.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org