Andrew Purtell created HBASE-5994:
-------------------------------------

             Summary: 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.isSecurityEnabled()) try {
  User.getCurrent().obtainAuthTokenForJob(conf, job);
} catch (InterruptedException ie) {
  Thread.interrupted();
}
{code}

Add this to the manual and update TableMapReduceUtil.

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

        

Reply via email to