[ 
https://issues.apache.org/jira/browse/HBASE-6862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13461034#comment-13461034
 ] 

Lars Hofhansl commented on HBASE-6862:
--------------------------------------

Turns out this is not quite so simple.
# Hadoop SequenceFile.createWriter does not accept permissions
# The umask can be set on the FileSystem, which the writer that is eventually 
created would honor. The problem is, then the umask is set on the filesystem, 
which then applies to all files, including directories (which we do not want 
here). Could set and then unset the umask, but multiple threads might use that 
FileSystem.

Reminder: This is about being able to browse the HBase file hierarchy (the 
directories, without being able to actually open the files themselves, so that 
we can allow access to the Hadoop UI pages without breaching security).

                
> Apply custom umask to HLog
> --------------------------
>
>                 Key: HBASE-6862
>                 URL: https://issues.apache.org/jira/browse/HBASE-6862
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Lars Hofhansl
>             Fix For: 0.94.3, 0.96.0
>
>
> See parent for details.
> Gist is that it should be possible to restrict the web ui to browse the 
> directory but not allow access to the data files itself.
> Parent does for HFiles, but forgot to do this for the HLog.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to