jianghuazhu commented on PR #7467:
URL: https://github.com/apache/ozone/pull/7467#issuecomment-2495982561

   Thanks @xichen01  for the comment and review.
   I have updated it.
   ci:
   https://github.com/jianghuazhu/ozone/actions/runs/11995657782
   
   Test 1:
   `
   ./bin/ozone debug ldb --db=/home/hadoop/jhz/test/om.db scan 
--column_family=bucketTable --out=/data12/test/bucket_records 
--max-records-per-file=300
   `
   Result:
   ```
   -rw-rw-r-- 1 hadoop hadoop 140538 Nov 24 17:20 bucket_records.0
   -rw-rw-r-- 1 hadoop hadoop 136737 Nov 24 17:20 bucket_records.1
   -rw-rw-r-- 1 hadoop hadoop 136741 Nov 24 17:20 bucket_records.2
   -rw-rw-r-- 1 hadoop hadoop 139301 Nov 24 17:20 bucket_records.3
   -rw-rw-r-- 1 hadoop hadoop 130741 Nov 24 17:20 bucket_records.4
   -rw-rw-r-- 1 hadoop hadoop 130737 Nov 24 17:20 bucket_records.5
   -rw-rw-r-- 1 hadoop hadoop 114272 Nov 24 17:20 bucket_records.6
   ```
   
   Test 2:
   `
   ./bin/ozone debug ldb --db=/home/hadoop/jhz/test/om.db scan 
--column_family=bucketTable --limit=3 --out=/data12/test/bucket_records 
--max-records-per-file=300
   `
   Result:
   ```
   -rw-rw-r-- 1 hadoop hadoop 1855 Nov 24 17:24 bucket_records.0
   ```
   
   Test 3:
   `
   ./bin/ozone debug ldb --db=/home/hadoop/jhz/test/om.db scan 
--column_family=bucketTable --limit=2 --out=/data12/test/tmp_file14
   `
   Result:
   ```
   -rw-rw-r-- 1 hadoop hadoop 1239 Nov 24 17:26 tmp_file14
   ```


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