You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Peter Somogyi (Jira)" <ji...@apache.org> on 2026/10/06 13:12:00 UTC
[jira] [Created] (HBASE-30464) [hbase-operator-tools] TableReporter --limit scans only one row per region
Peter Somogyi created HBASE-30464:
-------------------------------------
Summary: [hbase-operator-tools] TableReporter --limit scans only one row per region
Key: HBASE-30464
URL: https://issues.apache.org/jira/browse/HBASE-30464
Project: HBase
Issue Type: Bug
Components: hbase-operator-tools
Reporter: Peter Somogyi
Assignee: Peter Somogyi
The --limit option of TableReporter has the check reversed: if (limit >= 0 && count <= limit) With limit N, each region's scan stops after its first row. With limit 0, the whole region is scanned.
Since the scan uses setAllowPartialResults(true), it also counted each partial Result as a row.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)