[
https://issues.apache.org/jira/browse/HBASE-9508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13766010#comment-13766010
]
stack commented on HBASE-9508:
------------------------------
Fix tests.
I deprecated all methods for which I supplied alternatives.
Unfortunately, we are inconsistent getting a TableName; most of the time it is
getTableName but in a few cases it is getTable (because a now deprecated
getTableName returning a byte [] was already there).
I was thinking we could commit to 0.96 and 0.98. Could make the call on
whether to remove these in 0.98 at that time.
getHTableName and getTablename are too subtle, yeah.
On restored constructors rejecting table names that have a ':' in them, I punt
in this issue. Its a bit awkward since ':' is legit in old-style tablename
(and even as a qualifier in new style) so would have to check namespaces that
exist and makes sure current table doesn't refer to one that does not exist..
TODO.
> Restore some API mistakenly removed in client, mapred*, and common
> ------------------------------------------------------------------
>
> Key: HBASE-9508
> URL: https://issues.apache.org/jira/browse/HBASE-9508
> Project: HBase
> Issue Type: Bug
> Components: Usability
> Reporter: stack
> Assignee: stack
> Priority: Critical
> Fix For: 0.98.0, 0.96.0
>
> Attachments: 9508.txt, 9508v2.txt, 9508v3.txt
>
>
> Here is contrib to the API compatibility story. I went over Aleks'
> compatibility report and restored removed or overriden methods and
> constructors, stuff that was in 0.94 non-deprecated and removed in 0.96.
> This patch is not comprehensive because some removals cannot be restored as
> in those that used take Writables (more on this later from Jon).
> The changes included here are mostly restore of methods that took a table
> name as a byte array replaced by a TableName object.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira