king-sjr-007 opened a new issue, #3159:
URL: https://github.com/apache/incubator-streampark/issues/3159

   ### 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.1.1
   
   ### Flink Version
   
   1.16.2
   
   ### deploy mode
   
   yarn-application
   
   ### What happened
   
   with submit a flink job in yarn-application mode. Encountered a situation 
where the error message is Caused by: java.lang.IllegalArgumentException: The 
"yarn.provided.lib.dirs" should only contain dirs accessible from all worker 
nodes, while the "file:/streampark/flink/flink-1.16.2/lib" is local.
        at org.apache.flink.yarn.Utils.getRemoteSharedLibPaths(Utils.java:662)
        at 
org.apache.flink.yarn.Utils.getQualifiedRemoteProvidedLibDirs(Utils.java:641)
        at 
org.apache.flink.yarn.YarnClusterDescriptor.startAppMaster(YarnClusterDescriptor.java:814)
        at 
org.apache.flink.yarn.YarnClusterDescriptor.deployInternal(YarnClusterDescriptor.java:623)
        at 
org.apache.flink.yarn.YarnClusterDescriptor.deployApplicationCluster(YarnClusterDescriptor.java:471)
        ... 28 more
        But Whether it is yarn-site or flink-conf, 
yarn.provided.lib.dir=hdfs://XXX has been configured.
        And in streampark.out  yarn.provided.lib.dir appears multiple times, 
the first few times it was hdfs://XXX ,Only the last occurrence of 
yarn.provided.lib.dir  is file:/streampark/flink/flink-1.16.2/lib,is so wired.
   
   ### Error Exception
   
   _No response_
   
   ### Screenshots
   
   
![1695288322987](https://github.com/apache/incubator-streampark/assets/20642251/0f024f29-d4da-4b2b-b83b-9a313d4c9332)
   
![image](https://github.com/apache/incubator-streampark/assets/20642251/6d8ebcfe-e506-40f5-81ad-8e30cb179f28)
   
   
   ### 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to