HBASE-29215 View block cache as JSON failing for BucketCache implementation#6851
Conversation
wchevreuil
left a comment
There was a problem hiding this comment.
Thanks for submitting this, @chandrasekhar-188k! Just want to confirm on the issue here, is it that GSON fails to serialize fields that are not java primitves/wrappers? Does it try to serialize even the private fields?
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
GSON tries to serialize all the fields of the class except the ones marked as static/transient. So the non static/non transient private fields also gets serialized. |
Thanks for confirming. For the |
1af1670 to
ff9d94b
Compare
yes, its good to have |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
…tation (#6851) Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
…tation (apache#6851) Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org> (cherry picked from f4bcb76)
…tation (apache#6851) Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org> (cherry picked from f4bcb76)
No description provided.