You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "zhisheng (Jira)" <ji...@apache.org> on 2021/01/26 12:54:00 UTC
[jira] [Issue Comment Deleted] (FLINK-21143) 【runtime】flink job use the lib jars instead of the `yarn.provided.lib.dirs` config jars
[ https://issues.apache.org/jira/browse/FLINK-21143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
zhisheng updated FLINK-21143:
-----------------------------
Comment: was deleted
(was: [^flink-deploy-sql-client.log]
^thanks [~xintongsong] [~fly_in_gis] I describe my problem in detail:^
I configured yarn.provided.lib.dirs: hdfs:///flink/composite-lib/flink-1.12.0
There is the previous version of flink-sql-connector-hbase-2.2_2.11-1.12.0.jar under the Flink client directory, and later I add a new version of flink-sql-connector-hbase-2.2_2.11-1.12. 0.jar to HDFS.
When I started the SQL client and execute SQL, an exception is reported. This exception is caused by a problem with the previous version of the jar package. The new version of the jar has fixed the problem(in HDFS), but the local jar has not been updated(in Flink lib/). I add the log file,it may help you. ^^ )
> 【runtime】flink job use the lib jars instead of the `yarn.provided.lib.dirs` config jars
> ---------------------------------------------------------------------------------------
>
> Key: FLINK-21143
> URL: https://issues.apache.org/jira/browse/FLINK-21143
> Project: Flink
> Issue Type: Bug
> Components: Deployment / YARN, Runtime / Configuration
> Affects Versions: 1.12.0
> Reporter: zhisheng
> Priority: Major
> Attachments: flink-deploy-sql-client.log
>
>
> Flink 1.12.0, I had use `yarn.provided.lib.dirs` config to speed up the job start,so I upload all jars in HDFS,but I update the jars in HDFS(not flink-1.12.0/lib/),it will still use the lib/ jars instead of use the new HDFS jars when I submit new job.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)