[jira] [Created] (FLINK-17796) Application mode should respect user specified classpath configuration

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-17796) Application mode should respect user specified classpath configuration

Shang Yuanchun (Jira)
Yang Wang created FLINK-17796:
---------------------------------

             Summary: Application mode should respect user specified classpath configuration
                 Key: FLINK-17796
                 URL: https://issues.apache.org/jira/browse/FLINK-17796
             Project: Flink
          Issue Type: Sub-task
            Reporter: Yang Wang


Currently, when we deploy a Flink application cluster(e.g. Yarn, K8s), {{-C/--classpath}}  could not work properly. Since we override the {{PipelineOptions.CLASSPATHS}}  in {{YarnApplicationClusterEntrypoint}}  and {{KubernetesApplicationClusterEntrypoint}} . Then client updated configuration will not take effect.
{code:java}
// code placeholder
./bin/flink run-application -p 5 -t yarn-application\
--classpath file:///flink/shared/dependency.jar ... \
-Dtaskmanager.memory.process.size=4096m \ examples/streaming/StateMachineExample.jar
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)