You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2014/11/26 20:22:12 UTC

[jira] [Resolved] (HBASE-9527) Review all old api that takes a table name as a byte array and ensure none can pass ns + tablename

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

stack resolved HBASE-9527.
--------------------------
    Resolution: Not a Problem

Resolving as not a problem.

I took a quick pass over client and mapred* packages.

The regex references to tables as Strings are a bit dodgy but fine for now I'd say. In HConnection there are still a few methods that take a tablename as String but they are deprecated and point at the TableName alternatives.

I'd say we're good enough here.  Lets open explicit issues for API in violation rather than have this nebulous issue as critical.  Reopen if you feel otherwise about it.


> 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)