You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2018/02/12 17:13:00 UTC

[jira] [Created] (FLINK-8641) Move BootstrapTools#getTaskManagerShellCommand to flink-yarn

Chesnay Schepler created FLINK-8641:
---------------------------------------

             Summary: Move BootstrapTools#getTaskManagerShellCommand to flink-yarn
                 Key: FLINK-8641
                 URL: https://issues.apache.org/jira/browse/FLINK-8641
             Project: Flink
          Issue Type: Improvement
          Components: Configuration, YARN
    Affects Versions: 1.5.0
            Reporter: Chesnay Schepler


I would like to move {{getTaskManagerShellCommand()}} and {{getStartCommand()}} from {{org.apache.flink.runtime.clusterframework.BootstrapTools}} in flink-runtime to flink-yarn.

Yarn is the sole user of these methods, and both methods are directly related to the {{YARN_CONTAINER_START_COMMAND_TEMPLATE}} {{ConfigConstants}}

We can't move this constant to {{YarnOptions}} at this point since, since the {{YarnOptions}} are in {{flink-yarn}}, but the above methods require the option to be accessible from {{flink-runtime}}.

[~till.rohrmann] Do you see any problems that this move could cause?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)