Re: Remove stackTrace from error response

2021-12-29 Thread David Morávek
Hi Noa, There is currently no way to do this without making changes to the code. Please note that there are also endpoints for explicitly retrieving the exception history of a particular job. Flink REST API is not really meant to be "secure" in a way that you can make it accessible to the public n

Remove stackTrace from error response

2021-12-27 Thread Koffman, Noa (Nokia - IL/Kfar Sava)
Hi, as part of security improvement we need to make sure APIs do not return stack traces as part of the error response, The JobManager REST API does currently return the stack trace on error, For example: ❯ curl http://localhost:8081/jobs/123 {"errors":["org.apache.flink.runtime.rest.handler.RestH