You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Junegunn Choi (Jira)" <ji...@apache.org> on 2025/11/03 05:12:00 UTC
[jira] [Created] (HBASE-29699) Scan#setLimit ignored in MapReduce jobs
Junegunn Choi created HBASE-29699:
-------------------------------------
Summary: Scan#setLimit ignored in MapReduce jobs
Key: HBASE-29699
URL: https://issues.apache.org/jira/browse/HBASE-29699
Project: HBase
Issue Type: Bug
Components: mapreduce
Reporter: Junegunn Choi
h2. Problem
{{TableInputFormat}} and {{TableSnapshotInputFormat}} do not respect non-default {{limit}} values set on a Scan object.
h2. Cause
There are two underlying issues:
1. {{ProtobufUtil.toScan}} does not serialize/deserialize the {{limit}} value.
2. {{TableSnapshotInputFormatImpl.RecordReader}} does not apply the {{limit}} when reading rows.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)