captainzmc commented on issue #618: HDDS-2911. Fix lastUsed and stateEnterTime 
value in container info is not human friendly
URL: https://github.com/apache/hadoop-ozone/pull/618#issuecomment-605645975
 
 
   As @xiaoyuyao and @elek suggested. Have changed lastUsed and stateEnterTime 
to lnstant type. 
   And output with the previous ObjectWriter. Now the format is:
   {
     "state" : "OPEN",
     "replicationFactor" : "ONE",
     "replicationType" : "RATIS",
     "usedBytes" : 441,
     "numberOfKeys" : 1,
     "lastUsed" : "2020-03-29T11:47:50.347Z",
     "stateEnterTime" : "2020-03-29T10:38:26.681Z",
     "owner" : "20a01508-2173-4e80-923c-5b2b6d3353dd",
     "containerID" : 1,
     "deleteTransactionId" : 0,
     "sequenceId" : 0,
     "open" : true
   }

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to