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

Yongzhi Chen commented on HBASE-12493:
--------------------------------------

[~brocknoland], you are right, it seems that the only difference is  we need 
add the token to the job after call the TokenUtil.addTokenIfMissing(). It is a 
good idea to get the tokens from UGI and add them to the job. 

The changes in HIVE-8874 is the same change as in:
https://git-wip-us.apache.org/repos/asf?p=hbase.git;a=blob;f=hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java;h=b5149415a5e6abbb9cdfaec75604bd2c6c6056b3;hb=HEAD#l492

It is very hard to setup the test env in our side (only Harsh J has the the 
successful setup ). Is that possible to test in the hbase side for example make 
changes to the TableMapReduceUtil.java ?

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

Reply via email to