hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-9527) Review all old api that takes a table name as a byte array and ensure none can pass ns + tablename
Date Thu, 30 Oct 2014 22:19:34 GMT

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

stack commented on HBASE-9527:
------------------------------

We used to specify tables names with byte array or String. In 0.96 we changed it to a TableName
class because we added namespaces.
I think the worry here is that in a few places we let through 'ns:tablename' -- a String or
byte array with the delimiter in it -- which was a workaround getting namespaces in but we'd
like to purge that now.

> Review all old api that takes a table name as a byte array and ensure none can pass ns
+ tablename
> --------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-9527
>                 URL: https://issues.apache.org/jira/browse/HBASE-9527
>             Project: HBase
>          Issue Type: Bug
>            Reporter: stack
>            Assignee: Talat UYARER
>            Priority: Critical
>             Fix For: 0.99.2
>
>
> Go over all old APIs that take a table name and ensure that it is not possible to pass
in a byte array that is a namespace + tablename; instead throw an exception.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message