Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1C92C111A0 for ; Wed, 16 Jul 2014 21:57:07 +0000 (UTC) Received: (qmail 48549 invoked by uid 500); 16 Jul 2014 21:57:06 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 48377 invoked by uid 500); 16 Jul 2014 21:57:06 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 48281 invoked by uid 99); 16 Jul 2014 21:57:06 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jul 2014 21:57:06 +0000 Date: Wed, 16 Jul 2014 21:57:06 +0000 (UTC) From: "Andrew Purtell (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HBASE-2015) HBase client does not get privileges necessary to execute in security manager environment MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-2015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell resolved HBASE-2015. ----------------------------------- Resolution: Not a Problem > 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: 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 was sent by Atlassian JIRA (v6.2#6252)