You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2014/05/11 13:08:15 UTC

[jira] [Updated] (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 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)