slfan1989 commented on code in PR #8753:
URL: https://github.com/apache/hadoop/pull/8753#discussion_r4202036294
##########
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/mcp/McpHttpServlet.java:
##########
@@ -46,8 +46,8 @@ public final class McpHttpServlet extends HttpServlet {
private static final long serialVersionUID = 1L;
- private final ObjectMapper objectMapper;
- private final McpRequestHandler requestHandler;
+ private final transient ObjectMapper objectMapper;
Review Comment:
Thanks for the suggestion! I've removed transient from objectMapper and kept
it on requestHandler. This should address SE_BAD_FIELD without introducing
SE_TRANSIENT_FIELD_NOT_RESTORED.
Let's wait for CI to confirm.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]