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 <[email protected]> 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>

Reply via email to