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 2017/05/13 16:26:04 UTC

[jira] [Commented] (FLINK-6455) Yarn single-job JobManagers should not allow uploads of new jobs.

    [ https://issues.apache.org/jira/browse/FLINK-6455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16009405#comment-16009405 ] 

Chesnay Schepler commented on FLINK-6455:
-----------------------------------------

We can do this in 3 steps.

1) Make sure that {{JobManagerOptions#WEB_SUBMIT_ENABLE}} is set to {{false}} when run on Yarn.

2) Add a new parameter to the {{DashboardConfigHandler}} response to contain the above parameter.

3) Hide the job-submit option in the web UI based on the configuration.

I can take care of the latter 2, but could need some guidance on the first one as to where we have to set that.

> Yarn single-job JobManagers should not allow uploads of new jobs.
> -----------------------------------------------------------------
>
>                 Key: FLINK-6455
>                 URL: https://issues.apache.org/jira/browse/FLINK-6455
>             Project: Flink
>          Issue Type: Bug
>          Components: Webfrontend, YARN
>    Affects Versions: 1.2.1
>            Reporter: Stephan Ewen
>            Priority: Critical
>
> When running a job on Yarn in the 'single job cluster' mode, the web UI must not show the 'upload new job' option.
> If users actually submit another job via the web UI, the JobManager starts sharing the yarn cluster between these two jobs and there will be competition for TaskManagers between the jobs.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)