hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Helmling (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-16540) Scan should do additional validation on start and stop row
Date Tue, 20 Sep 2016 22:03:20 GMT

     [ https://issues.apache.org/jira/browse/HBASE-16540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Gary Helmling updated HBASE-16540:
      Resolution: Fixed
    Release Note: Scan#setStartRow() and Scan#setStopRow() now validate the argument passed
for each row key.  If the length of the byte[] passed exceeds Short.MAX_VALUE, an IllegalArgumentException
will be thrown.
          Status: Resolved  (was: Patch Available)

> Scan should do additional validation on start and stop row
> ----------------------------------------------------------
>                 Key: HBASE-16540
>                 URL: https://issues.apache.org/jira/browse/HBASE-16540
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>            Reporter: Gary Helmling
>            Assignee: Dustin Pho
>             Fix For: 2.0.0, 1.4.0
>         Attachments: HBASE-16540.002.patch, HBASE-16540.patch
> Scan.setStartRow() and setStopRow() should validate the byte[] passed to ensure it meets
the criteria for a row key.  If the byte[] length is greater that Short.MAX_VALUE, we should
throw an IllegalArgumentException in order to fast fail and prevent server-side errors being
thrown and retried.

This message was sent by Atlassian JIRA

View raw message