Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6525591B0 for ; Wed, 7 Mar 2012 06:38:31 +0000 (UTC) Received: (qmail 86218 invoked by uid 500); 7 Mar 2012 06:38:30 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 85512 invoked by uid 500); 7 Mar 2012 06:38:25 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 85450 invoked by uid 99); 7 Mar 2012 06:38:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Mar 2012 06:38:23 +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.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Mar 2012 06:38:22 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 36874C06A for ; Wed, 7 Mar 2012 06:38:02 +0000 (UTC) Date: Wed, 7 Mar 2012 06:38:02 +0000 (UTC) From: "Lars Hofhansl (Commented) (JIRA)" To: issues@hbase.apache.org Message-ID: <374333466.31681.1331102282263.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <906306925.25361.1330997396951.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-5526) Optional file permission settings 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 [ https://issues.apache.org/jira/browse/HBASE-5526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13224030#comment-13224030 ] Lars Hofhansl commented on HBASE-5526: -------------------------------------- Wow. Big patch. Kinda nasty that the file operations now need a Configuration object. On the other hand it's nice to have it available there now, let's us pass more config options in the future without rewriting. Initial comment. Would probably not hardcode 022 as the default umask (neither in code, nor in hbase-defaults.xml, but rather use FS' default). Wanna put up RB? > Optional file permission settings > --------------------------------- > > Key: HBASE-5526 > URL: https://issues.apache.org/jira/browse/HBASE-5526 > Project: HBase > Issue Type: New Feature > Components: regionserver > Reporter: Jesse Yates > Assignee: Jesse Yates > Fix For: 0.94.0 > > Attachments: java_HBASE-5526-v2.patch, java_HBASE-5526.patch > > > Currently many all the files created by the HBase user are just written using the default file permissions granted by hdfs. However, it is often times adventageous to only allow a subset of the world to view the actual data written by hbase when scanning the raw hdfs files. > This ticket covers setting permissions for files written to hdfs that are storing actual user data, as opposed to _all_ files written to hdfs as many of them contain non-identifiable metadata. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira