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 2012/05/17 04:00:08 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:
----------------------------------
Description:
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.
was:
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.isSecurityEnabled()) try {
User.getCurrent().obtainAuthTokenForJob(conf, job);
} catch (InterruptedException ie) {
Thread.interrupted();
}
{code}
Add this to the manual and update TableMapReduceUtil.
> 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
> Assignee: 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira