You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Andrew Kyle Purtell (Jira)" <ji...@apache.org> on 2022/06/13 16:23:00 UTC
[jira] [Resolved] (HBASE-5994) Document and add to TableMapReduceUtil setup if security is enabled
[ https://issues.apache.org/jira/browse/HBASE-5994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Kyle Purtell resolved HBASE-5994.
----------------------------------------
Resolution: Won't Fix
> Document and add to TableMapReduceUtil setup if security is enabled
> -------------------------------------------------------------------
>
> Key: HBASE-5994
> URL: https://issues.apache.org/jira/browse/HBASE-5994
> Project: HBase
> Issue Type: Improvement
> Reporter: Andrew Kyle Purtell
> Priority: Major
>
> If secure RPC is enabled, then users must enable the TokenProvider coprocessor. They also must acquire a job token and add it to the job configuration, by way of something like:
> {code}
> if (User.isHBaseSecurityEnabled()) try {
> User.getCurrent().obtainAuthTokenForJob(conf, job);
> } catch (InterruptedException ie) {
> Thread.interrupted();
> }
> {code}
> TableMapReduceUtil will do this automatically.
> Add some detail about this to the manual.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)