[
https://issues.apache.org/jira/browse/HBASE-12575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Purtell updated HBASE-12575:
-----------------------------------
Attachment: HBASE-12575.patch
And here's an updated version that will also fail region deploys if table
coprocessor classes cannot be loaded. This is secure, we fail closed (region
won't open). We retain the logic that aborts the regionserver should a table
coprocessor fail to _initialize_ once the region open is in progress.
> Sanity check coprocessor classes and other classes from configuration are
> loadable
> ----------------------------------------------------------------------------------
>
> Key: HBASE-12575
> URL: https://issues.apache.org/jira/browse/HBASE-12575
> Project: HBase
> Issue Type: Sub-task
> Reporter: Enis Soztutar
> Assignee: Andrew Purtell
> Fix For: 1.0.0, 2.0.0, 0.98.9
>
> Attachments: HBASE-12575.patch, HBASE-12575.patch
>
>
> We load coprocessors and other classes from configuration. In case of a typo
> in the class name (or deployment problem) a create table / alter table with
> wrong class name brings down the whole cluster.
> Master already does sanity check for compression and region split policy
> classes introduced in HBASE-10591. We should extend that to check some other
> common cases as well.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)