zentol commented on issue #6802: [hotfix][docs] fix rest_api.md mistakes at 
Cancel Job section
URL: https://github.com/apache/flink/pull/6802#issuecomment-427780402
 
 
   -1 for a few reasons:
   
   * That part of the documentation is for legacy mode
   => legacy mode indeed requires a DELETE to `jobs/:jobid/cancel`.
   => the new (and current!) mode requires a PATCH to `jobs/:jobid` as 
documented 
[here](https://ci.apache.org/projects/flink/flink-docs-master/monitoring/rest_api.html#jobs-jobid-1)
   => the entire section will be removed for 1.7 since legacy mode will be 
dropped
   * `yarn-cancel` only exists for yarn use-cases and is not intended for 
general use
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to