adoroszlai commented on PR #6581:
URL: https://github.com/apache/ozone/pull/6581#issuecomment-2077708549

   Looks like failure in `TestOzoneDebugShell` is related:
   
   ```
   2024-04-25 15:58:50,480 [DBScanner-0] ERROR debug.DBScanner 
(DBScanner.java:call(516)) - Exception parse Object
   com.fasterxml.jackson.databind.JsonMappingException: Document nesting depth 
(1001) exceeds the maximum allowed (1000, from 
`StreamWriteConstraints.getMaxNestingDepth()`) (through reference chain: 
java.util.ArrayList[0]->org.apache.hadoop.ozone.OzoneAcl["toStringMethod"]->org.apache.ratis.util.MemoizedSupplier["initializer"]->org.apache.hadoop.ozone.OzoneAcl$$Lambda$832/0x00007f47105fdd68["arg$1"]->org.apache.hadoop.ozone.OzoneAcl["toStringMethod"]-...)
        at 
com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:402)
        at 
com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:361)
        at 
com.fasterxml.jackson.databind.ser.std.StdSerializer.wrapAndThrow(StdSerializer.java:323)
        at 
com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:778)
        at 
com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:183)
   ```
   
   I think we need `@JsonIgnore` for the two new supplier fields:
   
   
https://github.com/apache/ozone/blob/37cba819d7e5160919725ac0176d565134521d7b/hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/OzoneAcl.java#L67-L68


-- 
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]

Reply via email to