[Help Required:]-Unable to submit job from REST API

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Help Required:]-Unable to submit job from REST API

Puneet Kinra-2
oHi All

Unable to submit job from REST API (Flink-Monitoring API),

Steps followed:

1) Load the jar using load api.
2) can see the jar in the /tmp/flink-web folder.
3) Try to run the jar using the following.

Request


Response:

{
    "errors": [
        "Not found."
    ]
}

--
Cheers 

Puneet Kinra

Mobile:+918800167808 | Skype : [hidden email]

e-mail :[hidden email]


Reply | Threaded
Open this post in threaded view
|

Re: [Help Required:]-Unable to submit job from REST API

Yun Gao

Hi Puneet,

   From the doc it seems submitting a job via rest api should send a post request to /jars/:jarid/run [1]. The response "Not Found" should means the REST API server does not know the request type.

Best,
 Yun





 [1] https://ci.apache.org/projects/flink/flink-docs-release-1.12/ops/rest_api.html#jars-jarid-run
------------------------------------------------------------------
Sender:Puneet Kinra<[hidden email]>
Date:2020/12/21 19:47:31
Recipient:user<[hidden email]>
Theme:[Help Required:]-Unable to submit job from REST API

oHi All

Unable to submit job from REST API (Flink-Monitoring API),

Steps followed:

1) Load the jar using load api.
2) can see the jar in the /tmp/flink-web folder.
3) Try to run the jar using the following.

Request


Response:

{
    "errors": [
        "Not found."
    ]
}

--
Cheers 

Puneet Kinra

Mobile:+918800167808 | Skype : [hidden email]

e-mail :[hidden email]