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)