From commits-return-3233-apmail-sentry-commits-archive=sentry.apache.org@sentry.incubator.apache.org Sat Aug 30 23:34:18 2014 Return-Path: X-Original-To: apmail-sentry-commits-archive@minotaur.apache.org Delivered-To: apmail-sentry-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 79867116AA for ; Sat, 30 Aug 2014 23:34:18 +0000 (UTC) Received: (qmail 77082 invoked by uid 500); 30 Aug 2014 23:34:18 -0000 Delivered-To: apmail-sentry-commits-archive@sentry.apache.org Received: (qmail 77036 invoked by uid 500); 30 Aug 2014 23:34:18 -0000 Mailing-List: contact commits-help@sentry.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sentry.incubator.apache.org Delivered-To: mailing list commits@sentry.incubator.apache.org Received: (qmail 77024 invoked by uid 99); 30 Aug 2014 23:34:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Aug 2014 23:34:18 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 30 Aug 2014 23:33:55 +0000 Received: (qmail 76937 invoked by uid 99); 30 Aug 2014 23:33:53 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Aug 2014 23:33:53 +0000 Date: Sat, 30 Aug 2014 23:33:52 +0000 (UTC) From: "Lenni Kuff (JIRA)" To: commits@sentry.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (SENTRY-415) Add API to Sentry Service that allows clients to read the service's config values MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Lenni Kuff created SENTRY-415: --------------------------------- Summary: Add API to Sentry Service that allows clients to read the service's config values Key: SENTRY-415 URL: https://issues.apache.org/jira/browse/SENTRY-415 Project: Sentry Issue Type: Task Affects Versions: 1.4.0 Reporter: Lenni Kuff It would be useful to add an API to Sentry Service that allows Sentry Service clients to read the service's configuration values. The Hive Metastore has a similar API: "String getConfigValue(String propertyName, String defaultValue)" One specific use case for Sentry is to make it possible for clients that cache policy metadata (e.g. Impala) to read the admin group(s) so they can also cache this information and authorize GRANT/REVOKE requests without making an RPC to the Sentry service. The client could periodically refresh the configuration information to ensure it is up to date. -- This message was sent by Atlassian JIRA (v6.2#6252)