You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Erik Bengtson (JIRA)" <ji...@apache.org> on 2009/11/27 10:46:39 UTC

[jira] Created: (HBASE-2015) HBase client does not get privileges necessary to execute in security manager environment

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

                 Key: HBASE-2015
                 URL: https://issues.apache.org/jira/browse/HBASE-2015
             Project: Hadoop HBase
          Issue Type: Bug
          Components: client
    Affects Versions: 0.20.1
            Reporter: Erik Bengtson


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?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.