jianghuazhu opened a new pull request, #7467:
URL: https://github.com/apache/ozone/pull/7467

   ## What changes were proposed in this pull request?
   When executing the ldb command, specify the maximum number of records to 
print for each file.
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-10568
   
   ## How was this patch tested?
   ci : 
   https://github.com/jianghuazhu/ozone/actions/runs/11955271018
   Test command:
   `
   ./bin/ozone debug ldb --db=/home/hadoop/jhz/test/om.db scan 
--column_family=bucketTable --out=/data12/test/tmp_file1 
--max-records-per-file=300
   `
   `--max-records-per-file` specifies the maximum number of records to print 
per file. It is used together with `--out`.
   
   or
   `
   /bin/ozone debug ldb --db=/home/hadoop/jhz/test/om.db scan 
--column_family=bucketTable --limit=3 --out=/data12/test/tmp_file2 
--max-records-per-file=300
   `
   `--max-records-per-file` can also be used with `--limit` .
   


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