[ https://issues.apache.org/jira/browse/FLINK-2989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14998616#comment-14998616 ]
ASF GitHub Bot commented on FLINK-2989: --------------------------------------- GitHub user mxm opened a pull request: https://github.com/apache/flink/pull/1344 [FLINK-2989] job cancel button doesn't work on YARN In addition to the REST-compliant "DELETE /jobs/<jobid>", allows cancellation also via a special GET request of the form "GET /jobs/<jobid>/yarn-cancel". That enables us to cancel jobs from the web frontend on YARN while keeping a REST-compliant DELETE alternative. You can merge this pull request into a Git repository by running: $ git pull https://github.com/mxm/flink yarn-cancel Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/1344.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1344 ---- commit 313aee9be2bbc18ce82469de5e75606083761016 Author: Maximilian Michels <m...@apache.org> Date: 2015-11-10T12:35:58Z [FLINK-2989] job cancel button doesn't work on YARN In addition to the REST-compliant "DELETE /jobs/<jobid>", allows cancellation also via a special GET request of the form "GET /jobs/<jobid>/yarn-cancel". That enables us to cancel jobs from the web frontend on YARN while keeping a REST-compliant DELETE alternative. ---- > Job Cancel button doesn't work on Yarn > -------------------------------------- > > Key: FLINK-2989 > URL: https://issues.apache.org/jira/browse/FLINK-2989 > Project: Flink > Issue Type: Bug > Components: Webfrontend > Reporter: Sachin Goel > > The newly added Cancel button doesn't work on Yarn, when accessing via Yarn > Web Application proxy. It works fine when we're directly on the web monitor. > The reason is Yarn doesn't allow DELETE requests to the AM yet. It should be > enabled in 2.8.0. [YARN-2031, YARN-2084.] > A workaround for now can be to use a {{GET}} method instead of {{DELETE}}, > but that breaks the conventions of REST. -- This message was sent by Atlassian JIRA (v6.3.4#6332)