Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-5994

Document and add to TableMapReduceUtil setup if security is enabled

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      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:

      if (User.isHBaseSecurityEnabled()) try {
        User.getCurrent().obtainAuthTokenForJob(conf, job);
      } catch (InterruptedException ie) {
        Thread.interrupted();
      }
      

      TableMapReduceUtil will do this automatically.

      Add some detail about this to the manual.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                apurtell Andrew Purtell
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: