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

Mirko Jotic commented on HBASE-20694:
-------------------------------------

If this is still relevant I'd like to contribute.

 

Would the check in 1.x be this one:

[https://github.com/apache/hbase/blob/branch-1.4/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/SecureBulkLoadEndpoint.java#L181]

 

And would something like this be added to corresponding method in 2.x?

> Consolidate warning on SecureBulkLoad directory permissions
> -----------------------------------------------------------
>
>                 Key: HBASE-20694
>                 URL: https://issues.apache.org/jira/browse/HBASE-20694
>             Project: HBase
>          Issue Type: Improvement
>          Components: documentation, Filesystem Integration
>            Reporter: Josh Elser
>            Priority: Minor
>              Labels: beginner
>
> Follow-on from HBASE-20605:
> HBase 1.x has a check which ignores a directory permission check if you're 
> using a specific filesystem which we think doesnt' do security properly.
> HBase 2.x dropped this check.
> Since the security of bulk-loaded data is dependent upon this directory 
> permission (and thus the capabilities of the FileSystem), it would be better 
> to have a consistent warning across branches.
> [~busbey] suggested that we make a WARN message which points admins to our 
> Book (and write such a section if we don't have something sufficient already) 
> and our supported filesystems, coupled with an option to disable that warning 
> message.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to