Github user EronWright commented on the issue: https://github.com/apache/flink/pull/3632 I believe the `yarn-session.sh` applies to the client-side only (which launches the AM into the cluster). To adjust the classpath for the AM/TM, I believe some adjust is needed here: https://github.com/apache/flink/blob/release-1.2/flink-yarn/src/main/java/org/apache/flink/yarn/AbstractYarnClusterDescriptor.java#L644
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---