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

Duo Zhang commented on HBASE-18770:
-----------------------------------

We should allow, please see the description of this issue... I think the 
correct way is to change the List passed in...

The operation which I want to stop is that, in RegionObserver.preBulkLoadHFile, 
you can call ObserverContext.bypass to bypass the default behavior, which means 
we will not do bulk load at the upper layer. As for now, it seems impossible 
for CP users to load a StoreFile without touching IA.Private classes, so it 
does not make sense to still let users bypass the default behavior as they can 
not do it by themselves...

Thanks.

> We should not allow RegionObserver.preBulkLoadHFile to bypass the default 
> behavior
> ----------------------------------------------------------------------------------
>
>                 Key: HBASE-18770
>                 URL: https://issues.apache.org/jira/browse/HBASE-18770
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Coprocessors
>            Reporter: Duo Zhang
>             Fix For: 2.0.0-alpha-4
>
>
> As now we do not allow users to create a StoreFile instance. Users can still 
> select the files to be bulk loaded by modifying the familyPaths passed in.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to