- Community Home
- >
- Software
- >
- HPE Ezmeral Software platform
- >
- Is SetLimit method of Hbase client Scan class supp...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2025 09:51 PM
04-09-2025 09:51 PM
Is SetLimit method of Hbase client Scan class supported?
I am running an EDF 7.7 cluster. Using setLimit doesn't limit the number of rows the scan returns. Is this method not supported? I don't get any error messages, it just returns all the rows that match my startrow and stoprow. Any ideas? Snippet below.
I also tried with PageFilter(which isn't recommended) and I get a weird error when I try to return anything more than ~20 rows, around 65 KB worth of data.
======
scan = new Scan();
String startRow = flinkid + "_" + getRegexTime(epochStartTime);
String endRow = flinkid + "_" + getRegexTime(epochEndTime);
scan.setStartRow(Bytes.toBytes(endRow));
scan.setStopRow(Bytes.toBytes(startRow));
FilterList filterList = getUsageFilters(bookType,);
log.debug("filter before setting={} " + scan.getFilter());
scan.setFilter(filterList); // Directly set the FilterList
scan.addColumn(Bytes.toBytes(this.propBean.getColumnFamily1()),
Bytes.toBytes(this.propBean.getColumnFamily1Column7()));
scan.addColumn(Bytes.toBytes(this.propBean.getColumnFamily2()),
Bytes.toBytes(this.propBean.getColumnFamily2Column1()));
if (log.isDebugEnabled()) {
log.debug(SCAN_INFO + " , Table: " + propBean.getTablename() + " , End Row: " + endRow);
}
scan.setLimit(Integer.parseInt(limit));
System.out.println("Scan Limit:== " + Integer.parseInt(limit));
scanner = table.getScanner(scan);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2025 11:56 PM
04-13-2025 11:56 PM
Re: Is SetLimit method of Hbase client Scan class supported?
Hi @koo2981 Could you please share your maven version/ POM .xml that you are testing for your project?
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2025 07:38 AM - last edited on 04-16-2025 12:23 AM by Sunitha_Mod
04-14-2025 07:38 AM - last edited on 04-16-2025 12:23 AM by Sunitha_Mod
Re: Is SetLimit method of Hbase client Scan class supported?
Hi @yasmeenshaik96 ,
For this test, I am not using maven. I am compiling and running my application using javac and java as described in the link below under Running Applications:
https://docs.ezmeral.hpe.com/datafabric-customer-managed/79/MapR-DB/UsingMaven.html
Core release is 7.7 and EEP version is 9.2.2. My classpath is set using by exportin 'hbase classpath' and 'hadoop classpath' commands.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2025 02:06 AM
05-12-2025 02:06 AM
Re: Is SetLimit method of Hbase client Scan class supported?
Hi @koo2981 can you confirm if you have a scope to open hpe account to open a case for this scenario?
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2025 10:30 PM
05-12-2025 10:30 PM
Re: Is SetLimit method of Hbase client Scan class supported?
Case has been opened for this already.
Thanks