[
https://issues.apache.org/jira/browse/HBASE-12493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14236123#comment-14236123
]
Gary Helmling commented on HBASE-12493:
---------------------------------------
Committed to master.
[~enis] What do you think about getting this in branch-1? It would be good to
get the deprecations in place on the old methods before 1.0 is released.
[~apurtell] Ditto on 0.98.
Summary of compatibility related changes:
* {{TokenUtil}} class is moved from hbase-server to hbase-client. It remains
in the same package though, so should remain API compatible.
* {{User.obtainAuthTokenForJob()}} methods are deprecated in favor of
{{TokenUtil}} versions that take a connection and explicit user.
* {{TokenUtil}} methods taking a {{Configuration}} instance (which create a
{{Connection}} behind the scenes) are deprecated in favor of those taking an
explicit {{Connection}} instance.
If we get this in 1.0 so the deprecations are in place, then I will do a follow
up issue to remove the deprecated methods from master.
> User class should provide a way to re-use existing token
> --------------------------------------------------------
>
> Key: HBASE-12493
> URL: https://issues.apache.org/jira/browse/HBASE-12493
> Project: HBase
> Issue Type: Task
> Reporter: Brock Noland
> Assignee: Gary Helmling
> Fix For: 2.0.0
>
> Attachments: HBASE-12493-v2.patch, HBASE-12493.patch
>
>
> In HIVE-8874 we had to re-use HBase classes market private to re-use using
> tokens.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)