HBase
  1. HBase
  2. HBASE-5994

Document and add to TableMapReduceUtil setup if security is enabled

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major 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.

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

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

              Dates

              • Created:
                Updated:

                Development