Customizing the classpath for TM and JM

Posted by Alexander Alexandrov on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Customizing-the-classpath-for-TM-and-JM-tp624.html

Hi there,

is there a canonical / suggested way to customize the classpath of the Flink JM and TM processes?

At the moment I hardcoded my way around this by manually changing the following lines like that:

# in taskmanager.sh
$JAVA_RUN [...] -classpath "/tmp/classes:$FLINK_TM_CLASSPATH"

# in jobmanagre.sh
$JAVA_RUN [...] -classpath "/tmp/classes:$FLINK_JM_CLASSPATH"

Perhaps there is a variable that I can set in conf/flink.yaml that will do the same trick.