yuchen-ecnu commented on PR #24689:
URL: https://github.com/apache/flink/pull/24689#issuecomment-2084282176

   Hi @yeezychao , sorry for the late response.
   It's not enough to just change the request type on the front end, you also 
need to modify the type of the corresponding REST interface on the JobManager 
side (e.g., 
`org.apache.flink.runtime.rest.messages.cluster.JobManagerProfilingHeaders# 
getHttpMethod`).
   
   In addition, in Standalone Cluster, you can validate your changes in Postman 
by referring to the request shown below. (I think POST 400 because you missed 
the request parameters, which contain the necessary arguments: profiling type 
and duration)
   
   <img width="1230" alt="image" 
src="https://github.com/apache/flink/assets/19743175/201bd043-374d-448d-bd14-c34d069bdba4";>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to