Ethan Rose created HDDS-13445:
---------------------------------

             Summary: Make `ozone debug replicas chunk-info` stream json output 
between datanode calls
                 Key: HDDS-13445
                 URL: https://issues.apache.org/jira/browse/HDDS-13445
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Ethan Rose


{{ozone debug replicas chunk-info}} prints chunk information from all replicas 
for all chunks of all blocks within a file. It gathers all the information from 
the datanodes, stores it in memory, then prints it all at once. For large files 
in the GB range, this could result in a large amount of information stored in 
the client memory before printing. It would be better to print information 
about one block at a time in between each getBlock call to the datanode. The 
Json structure can remain the same.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to