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

Document and add to TableMapReduceUtil setup if security is enabled

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            apurtell Andrew Kyle Purtell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment