You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Leonid Ilyevsky (Jira)" <ji...@apache.org> on 2021/08/25 20:17:00 UTC

[jira] [Created] (FLINK-23980) Jobmanager dies upon receiving REST API plan request

Leonid Ilyevsky created FLINK-23980:
---------------------------------------

             Summary: Jobmanager dies upon receiving REST API plan request
                 Key: FLINK-23980
                 URL: https://issues.apache.org/jira/browse/FLINK-23980
             Project: Flink
          Issue Type: Bug
          Components: Runtime / REST
    Affects Versions: 1.13.2, 1.13.1
            Reporter: Leonid Ilyevsky


Jobmanager terminates after receiving the following GET request:

[http://va1qvllpar01:8091/jars/4431f09a-973e-40f1-8a26-c078b57ccb42_llogs-parser_2.12-1.2.6-assembly.jar/plan]

 

This type of request is described in the documentation here:

[https://ci.apache.org/projects/flink/flink-docs-release-1.13/docs/ops/rest_api/]

 

Before termination, it prints the following in the log:
{quote}2021-08-25 15:51:18.056 [flink-rest-server-netty-worker-thread-10] WARN org.apache.flink.runtime.webmonitor.handlers.JarPlanHandler - Configuring the job submission via query parameters is deprecated. Please migrate to submitting a JSON request instead.
2021-08-25 15:51:18.143 [StandaloneSessionClusterEntrypoint shutdown hook] INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint - Shutting StandaloneSessionClusterEntrypoint down with application status UNKNOWN. Diagnostics Cluster entrypoint has been closed externally..
2021-08-25 15:51:18.144 [StandaloneSessionClusterEntrypoint shutdown hook] INFO org.apache.flink.runtime.dispatcher.DispatcherRestEndpoint - Shutting down rest endpoint.
2021-08-25 15:51:18.211 [BlobServer shutdown hook] INFO org.apache.flink.runtime.blob.BlobServer - Stopped BLOB server at 0.0.0.0:37314
{quote}
The jarfile mentioned in my request is otherwise working fine, and I can start jobs using it.

You can see that the error message in the log is wrong: the request in question was not a job submission request.

 

Maybe this request is bad, but obviously jobmanager should not terminate.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)