hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (HBASE-2906) [rest/stargate] URI decoding in RowResource
Date Fri, 13 Aug 2010 15:50:16 GMT

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

Andrew Purtell reassigned HBASE-2906:

    Assignee: Andrew Purtell

> [rest/stargate] URI decoding in RowResource
> -------------------------------------------
>                 Key: HBASE-2906
>                 URL: https://issues.apache.org/jira/browse/HBASE-2906
>             Project: HBase
>          Issue Type: Bug
>          Components: rest
>    Affects Versions: 0.20.3, 0.20.4, 0.20.5, 0.20.6, 0.89.20100621
>            Reporter: Kieron Briggs
>            Assignee: Andrew Purtell
> Currently the RowResource constructor URI-decodes the rowspec string before passing it
to the RowSpec constructor, which breaks rowspecs whose row, column etc identifiers contain
> When addressing a row and/or column whose identifier contains a slash, the client must
URI-encode the values, so for example a row whose identifier is 'http://hbase.apache.org/'
would be addressed as:
>   /tablename/http%3a%2f%2fhbase.apache.org%2f/column:qualifier
> Currently RowResource() decodes this before passing to RowSpec(), so RowSpec() recieves:
>   /tablename/http://hbase.apache.org//column:qualifier
> which cannot be correctly parsed because of the extra slashes.
> RowResource() should pass the string on to RowSpec() undecoded, and RowSpec() should
decode the components individually after piecing apart the path.

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

View raw message