flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yang Wang <danrtsey...@gmail.com>
Subject Re: [Flink 1.10] Classpath doesn't include custom files in lib/
Date Mon, 17 Feb 2020 03:12:34 GMT
Hi Maxim Parkachov,

The users files also have been shipped to JobManager and TaskManager.
However, it
is not directly added to the classpath. Instead, the parent directory is
added to the
classpath. This changes are to make resource classloading work. You could
check more
information here[1].

[1]. https://issues.apache.org/jira/browse/FLINK-13127


Maxim Parkachov <lazy.gopher@gmail.com> 于2020年2月15日周六 上午12:58写道:

> Hi everyone,
> I'm trying to run my job with flink 1.10 with YARN cluster per-job mode.
> In the previous versions all files in lib/ folder were automatically
> included in classpath. Now, with 1.10 I see only *.jar files are included
> in classpath. but not "other" files. Is this deliberate change or bug ?
> Generally, what is recommended way to include custom files in classpath
> and ship it during start to all containers ?
> Thank

View raw message