[
https://issues.apache.org/jira/browse/HBASE-12277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Madhan Neethiraj updated HBASE-12277:
-------------------------------------
Description:
SecureBulkLoadEndPoint references couple of methods, prePrepareBulkLoad() and
preCleanupBulkLoad(), implemented in AccessController i.e. direct coupling
between AccessController and SecureBuikLoadEndPoint classes.
SecureBulkLoadEndPoint assumes presence of AccessController in secure-cluster.
If HBase is configured with another coprocessor for access-control,
SecureBulkLoadEndPoint fails with NPE.
To remove this direct coupling, bulk-load related methods in AccessController
should be refactored to an interface; and have AccessController implement this
interfaces. SecureBulkLoadEndPoint should then look for coprocessors that
implement this interface, instead of directly looking for AccessController.
> Refactor bulkLoad methods in AccessController to its own interface
> ------------------------------------------------------------------
>
> Key: HBASE-12277
> URL: https://issues.apache.org/jira/browse/HBASE-12277
> Project: HBase
> Issue Type: Bug
> Reporter: Madhan Neethiraj
>
> SecureBulkLoadEndPoint references couple of methods, prePrepareBulkLoad() and
> preCleanupBulkLoad(), implemented in AccessController i.e. direct coupling
> between AccessController and SecureBuikLoadEndPoint classes.
> SecureBulkLoadEndPoint assumes presence of AccessController in
> secure-cluster. If HBase is configured with another coprocessor for
> access-control, SecureBulkLoadEndPoint fails with NPE.
> To remove this direct coupling, bulk-load related methods in AccessController
> should be refactored to an interface; and have AccessController implement
> this interfaces. SecureBulkLoadEndPoint should then look for coprocessors
> that implement this interface, instead of directly looking for
> AccessController.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)