Older versions of Jetty don't support PATCH requests. You will either
have to update it or create a custom Flink version that uses POST for
the rescale operation.
On 23/01/2020 13:23, Vasily Melnik wrote:
Hi all.
I'm using Flink 1.8 on YARN with CDH 5.12
When i try to perform rescale request:
curl -v -X PATCH
'<my_url>/proxy/application_1576854986116_0079/jobs/11dcfc3163936fc019e049fc841b075b/rescaling?parallelism=3
<https://slack-redir.net/link?url=http%3A%2F%2Fstrm-flink-tm-dev-1.dwh.m1.tinkoff.cloud%3A8088%2Fproxy%2Fapplication_1576854986116_0079%2Fjobs%2F11dcfc3163936fc019e049fc841b075b%2Frescaling%3Fparallelism%3D3>'
i get a mistake:
/Method PATCH is not defined in RFC 2068 and is not supported by the
Servlet API
/GET and POST methods work well.
The Server type in response is Jetty(6.1.26.cloudera.4).
How can i deal with this situation?
С уважением,
Василий Мельник