ZanderXu commented on code in PR #4659:
URL: https://github.com/apache/hadoop/pull/4659#discussion_r937714717
##########
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/CallerContext.java:
##########
@@ -121,6 +121,44 @@ public String toString() {
return str;
}
+ private static String parseSpecialValue(String content, String key) {
Review Comment:
Sorry, I didn't get you idea. Just public `parseSpecialValue` method in
`CallerContext.java` and remove `parseSpecialValue` method in `NameNode.class`,
and modify the caller place in `NameNode.java` to use `CallerContext.
parseSpecialValue()`.
--
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]