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

[GitHub] [incubator-streampark] SamDu1988 opened a new issue, #2378: [Bug] Flinksql job execute error in remote model

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

   ### 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.8+
   
   ### Scala Version
   
   2.12.x
   
   ### StreamPark Version
   
   2.0
   
   ### Flink Version
   
   1.15.3
   
   ### deploy mode
   
   remote
   
   ### What happened
   
   flink cluster set as remote model. run flinksql job throw exception like below, even run the flinksql demo job which does not has any maven and jar dependency also throw the same error. 
   
   ![image](https://user-images.githubusercontent.com/56720897/222023355-8ef20944-706e-4616-b0e9-6e8474e76a55.png)
   
   error message:
   Caused by: java.lang.LinkageError: loader constraint violation: when resolving method "org.apache.hc.client5.http.fluent.Request.body(Lorg/apache/hc/core5/http/HttpEntity;)Lorg/apache/hc/client5/http/fluent/Request;" the class loader (instance of org/apache/streampark/flink/proxy/ChildFirstClassLoader) of the current class, org/apache/streampark/flink/client/tool/FlinkSessionSubmitHelper$, and the class loader (instance of sun/misc/Launcher$AppClassLoader) for the method's defining class, org/apache/hc/client5/http/fluent/Request, have different Class objects for the type org/apache/hc/core5/http/HttpEntity used in the signature
   
   
   
   
   
   ### Error Exception
   
   ```log
   error message:
   Caused by: java.lang.LinkageError: loader constraint violation: when resolving method "org.apache.hc.client5.http.fluent.Request.body(Lorg/apache/hc/core5/http/HttpEntity;)Lorg/apache/hc/client5/http/fluent/Request;" the class loader (instance of org/apache/streampark/flink/proxy/ChildFirstClassLoader) of the current class, org/apache/streampark/flink/client/tool/FlinkSessionSubmitHelper$, and the class loader (instance of sun/misc/Launcher$AppClassLoader) for the method's defining class, org/apache/hc/client5/http/fluent/Request, have different Class objects for the type org/apache/hc/core5/http/HttpEntity used in the signature
   ```
   
   
   ### Screenshots
   
   my job configuration:
   ![image](https://user-images.githubusercontent.com/56720897/222024161-41f85d64-fd0c-40a7-832a-7476b2bd125d.png)
   ![image](https://user-images.githubusercontent.com/56720897/222024185-6fa74be7-45b3-4731-a045-9e3ab9759a86.png)
   
   
   demo job configuration:
   ![image](https://user-images.githubusercontent.com/56720897/222024199-2baf9049-4ce9-4247-82d8-ecbda998b26c.png)
   
   
   ### Are you willing to submit PR?
   
   - [ ] 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] [Bug] Flinksql job execute error in remote model [incubator-streampark]

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

   > fixed in new version(2.1.2)
   
   2.1.4 same bug
   


-- 
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] [Bug] Flinksql job execute error in remote model [incubator-streampark]

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

   fixed in new version(2.1.2)


-- 
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


[GitHub] [incubator-streampark] wolfboys commented on issue #2378: [Bug] Flinksql job execute error in remote model

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

   Make sure the version of flink is consistent with the version of remote flink cluster.


-- 
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


[GitHub] [incubator-streampark] SamDu1988 commented on issue #2378: [Bug] Flinksql job execute error in remote model

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

   > Make sure the version of flink is consistent with the version of remote flink cluster.
   
   i am sure.  pls see below configuration setting.  flink home folder is 1.15.3 as same as remote flink cluster.  
   
   ![image](https://user-images.githubusercontent.com/56720897/223888622-34ac7673-ac58-483f-bcd9-6e733b0bc2fc.png)
   ![image](https://user-images.githubusercontent.com/56720897/223888684-86905bdb-870b-4e43-90a9-782c9da5c771.png)
   ![image](https://user-images.githubusercontent.com/56720897/223888744-d48c4c41-df3a-40b2-9751-bc1875512c53.png)
   ![image](https://user-images.githubusercontent.com/56720897/223888807-0158901e-d0c3-4d54-acc1-96ff40f27b46.png)
   


-- 
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] [Bug] Flinksql job execute error in remote model [incubator-streampark]

Posted by "wolfboys (via GitHub)" <gi...@apache.org>.
wolfboys closed issue #2378: [Bug] Flinksql job execute error in remote model 
URL: https://github.com/apache/incubator-streampark/issues/2378


-- 
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