pan3793 commented on code in PR #8654:
URL: https://github.com/apache/hadoop/pull/8654#discussion_r3756956035
##########
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/permission/FsPermission.java:
##########
@@ -269,6 +270,7 @@ public boolean equals(Object obj) {
@Override
public int hashCode() {return toShort();}
+ @JsonValue // For Jackson serialization, use the toString() to represent
this object as JSON.
Review Comment:
It's exposing the Jackson API from the Hadoop API, I'm not sure this is a
good choice ...
--
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]