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

CreateTableHandler: postCreateTableHanler coprocessor runs as RemoteRpcUser privileged action.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • None
    • None
    • Coprocessors
    • None

    Description

      It seems that post HBASE-11886 merge, in secure mode, custom master coprocessor 's postCreateTableHandler runs as remoteRPCUser privilege so will not be able to perform operation (such as hdfs operations) which requires master user privileges.
      Coprocessor developer can however, get around this by wrapping their code under master user privilege action by using User.runAsLoginUser, same can be documented.

      Attachments

        Activity

          People

            Unassigned Unassigned
            a72877 Abhishek Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: