[ 
https://issues.apache.org/jira/browse/HDFS-8717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14628821#comment-14628821
 ] 

Arpit Agarwal commented on HDFS-8717:
-------------------------------------

HI [~anu], why do we have two separate methods in BucketInfo - toJsonString and 
toDBString? I got the part that toJsonString skips serializing bytesUsed and 
keyCount but didn't understand the implementation difference and the reason for 
having two different functions. I am not very familiar with Json serialization 
so it may be a stupid question.

> OzoneHandler : Add common bucket objects
> ----------------------------------------
>
>                 Key: HDFS-8717
>                 URL: https://issues.apache.org/jira/browse/HDFS-8717
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>    Affects Versions: HDFS-7240
>            Reporter: Anu Engineer
>            Assignee: Anu Engineer
>             Fix For: HDFS-7240
>
>         Attachments: hdfs-8717-HDFS-7240.001.patch, 
> hdfs-8717-HDFS-7240.002.patch
>
>
> Add common bucket classes that are needed by the bucket REST interface.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to