flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 김동일 <kim.s...@gmail.com>
Subject Re: add FLINK_LIB_DIR to classpath on yarn -> add properties file to class path on yarn
Date Fri, 22 Jul 2016 03:46:08 GMT
I’saw the source code of flink-yarn/src/main/java/org/apache/flink/yarn/AbstractYarnClusterDescriptor.java
Flink ships the FLINK_LIB_DIR and add to classpath only jar files.
I want to know how to add resource file to classpath.

Best Regards, 
Dong-iL, Kim.

> On Jul 22, 2016, at 4:28 AM, Dong iL, Kim <kim.same@gmail.com> wrote:
> Hello.
> I have a flink cluster on yarn.
> I wanna add FLINK_LIB_DIR to classpath.
> because hibernate.cfg.xml need to be on the classpath.
> when i'm using stand alone cluster, just add FLINK_LIB_DIR to FLINK_CLASSPATH.
> but on yarn, Fixing config.sh, yarn-session.sh and flink-daemon.sh is not working.
> Best Regards,
> Dong-iL, Kim.
> -- 
> <A HREF="http://www.kiva.org <http://www.kiva.org/>" TARGET="_top">
> <IMG SRC="http://www.kiva.org/images/bannerlong.png <http://www.kiva.org/images/bannerlong.png>"
WIDTH="460" HEIGHT="60" ALT="Kiva - loans that change lives" BORDER="0" ALIGN="BOTTOM"></A>

View raw message