You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Gary Helmling (JIRA)" <ji...@apache.org> on 2016/09/01 06:22:20 UTC

[jira] [Created] (HBASE-16540) Scan should do additional validation on start and stop row

Gary Helmling created HBASE-16540:
-------------------------------------

             Summary: 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


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
(v6.3.4#6332)