You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by Richard Moorhead <ri...@gmail.com> on 2020/09/25 20:55:41 UTC
Flink 1.10 classpath
We're submitting jobs to a flink session running on YARN. Our yarn-site.xml
does not have our mapreduce libs in yarn.application.classpath. Our
application code has some provided dependencies from
hadoop-mapreduce-client-core. Without editing our yarn-site, or adding
those libraries to the flink lib dir, how can we extend our session's
classpath?
Re: Flink 1.10 classpath
Posted by Yang Wang <da...@gmail.com>.
It is an interesting requirement. Usually, we suggest our users to add
these dependencies in
lib directory or ship via --yarnship cli option.
If you really do not want to do this, I think you could ship an updated
yarn-site.xml, set "yarn.application.classpath"
including the mapreduce jars. Then all the TaskManagers will have them in
the classpath.
Best,
Yang
Richard Moorhead <ri...@gmail.com> 于2020年9月26日周六 上午4:56写道:
> We're submitting jobs to a flink session running on YARN. Our
> yarn-site.xml does not have our mapreduce libs in yarn.application.classpath.
> Our application code has some provided dependencies from
> hadoop-mapreduce-client-core. Without editing our yarn-site, or adding
> those libraries to the flink lib dir, how can we extend our session's
> classpath?
>