The usrlib for YARN only works for 1.15.0 and later versions. Refer to the
ticket[1] for more information.

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

Best,
Yang

Pavel Penkov <ebonfortr...@gmail.com> 于2022年5月16日周一 22:59写道:

> I can't manage to run an application on YARN because of classpath issues.
> Flink distribution is unpacked in $HOME/flink-1.14.4
> $HOME/flink1.14.4/usrlib contains all the dependency jars excluding the
> main application jar as flat file structure.
> The application is started with
>
> ./bin/flink run-application -t yarn-application \
> -Dyarn.application.queue=production \
> hdfs:///tmp/flink-parts/ru.aliexpress.data.flink-parts-0.1.0-SNAPSHOT.jar
>
> And it still can't find required classes.
>

Reply via email to