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

Andrew Purtell updated HBASE-5994:
----------------------------------

    Assignee:     (was: Andrew Purtell)

> 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 Purtell
>
> 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
(v6.2#6252)

Reply via email to