HBase
  1. HBase
  2. HBASE-2015

HBase client does not get privileges necessary to execute in security manager environment

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Not A Problem
    • Affects Version/s: 0.20.1
    • Fix Version/s: None
    • Component/s: Client
    • Labels:
      None

      Description

      HBase does not get privileges to run access controlled code, such as when using Sockets.

      ------------------------------------------
      A DataNucleus, HBase user posted this:
      http://www.jpox.org/servlet/forum/viewthread_thread,5869

      He is having trouble to run DataNucleus HBase in a JVM running with
      security manager activated.

      The permission required for the codebase is a SocketPermission,
      however the HBase client api does not run in a privileged block.

      To workaround we've added the doPrivileged block in DataNucleus, and
      the user grants datanucleus-hbase jar the SocketPermission.

      However, I think you should add these doPrivileged blocks to HBase
      code. Could you please look at these, and let me know when it's
      solved, so we can remove the doPrivileged blocks from DataNucleus
      code?

        Activity

        Erik Bengtson created issue -
        Andrew Purtell made changes -
        Field Original Value New Value
        Resolution Not a Problem [ 8 ]
        Status Open [ 1 ] Resolved [ 5 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Erik Bengtson
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development