[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Monitoring/rest_api,The "/jobs" how to use?

As the documentation states this is an effectively internal REST call used by the CLI.

To submit jobs via REST I would suggest to check out the jar submission routine.

On 19.10.2018 08:43, wangziyu wrote:
      I am learning Monitorong restful api [1]. I want to know how to use the
"/jobs"/Post. The request body need to enter some parameters.Like
"jobGraphFileName" ,"jobArtifactFileNames","jobJarFileNames".The three
parameters how to get them?
You can search "Submits a job. This call is primarily intended to be used by
the Flink client. This call expects amultipart/form-data request that
consists of file uploads for the serialized JobGraph, jars anddistributed
cache artifacts and an attribute named "request"for the JSON payload." to
know which api.
     Thanks !

Sent from: