[ 
https://issues.apache.org/jira/browse/HBASE-832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12627070#action_12627070
 ] 

stack commented on HBASE-832:
-----------------------------

Would suggest that tests do actual full HSK compares rather than just row 
postions.

Maybe add not to the data member 'tablename' a javadoc that its not serialized 
as part of HSK (Point at this issue?).

I should look closer, but does it need to be passed into HSK?  Or does 
HStoreKey.compareTwoRowKeys not suffice in all cases?

If you passed HRI instead of table name to HSK, you could do HRI.isMetatable 
and HRI.isRoottable rather than do the table name compares you're currently 
doing.



> Problem with row keys beginnig with characters < than ',' and the region 
> location cache
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-832
>                 URL: https://issues.apache.org/jira/browse/HBASE-832
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: client, regionserver
>    Affects Versions: 0.2.0
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jean-Daniel Cryans
>            Priority: Blocker
>             Fix For: 0.2.1, 0.18.0
>
>         Attachments: hbase-832-v1.patch, hbase-832-v2.patch
>
>
> We currently have a problem the way we design .META. row keys. When user 
> table row keys begin with characters lesser than ',' like a '$', any 
> operation will fail when:
> - A client has a certain set of regions in cache
> - One region with the faulty row key splits 
> - The client receives a request for a row in the split region
> The reason is that it will first get a NSRE then it will try to locate a 
> region using the passed row key. For example: 
> Row in META: entities,,1216750777411
> Row passed: entities,$-94f9386f-e235-4cbd-aacc-37210a870991,99999999999999
> The passed row is lesser then the row in .META.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to