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

Jiajia Li commented on HBASE-12546:
-----------------------------------

hi, [~apurtell], I found that in hbase trunk: 
(https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java#L1169)
 there is hcd check, such as check the regionsplitpolicy: 
(https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java#L1225),
 but in 0.98 branch, the check is not found: 
(https://github.com/apache/hbase/blob/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java#L1747)
 , so does the sanityCheckTableDescriptor() function do the schema option 
validate? please give me some advise, thanks~

> Validate schema options that require server side class availability
> -------------------------------------------------------------------
>
>                 Key: HBASE-12546
>                 URL: https://issues.apache.org/jira/browse/HBASE-12546
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Andrew Purtell
>            Assignee: Jiajia Li
>             Fix For: 2.0.0, 0.98.9, 0.99.2
>
>
> When processing table create and modification requests we should check the 
> supplied schema options for settings that require mentioned classes to be 
> available from the regionserver classpath (split policies, etc.). If we can't 
> find the class on the classpath when processing the admin request RPC, fail 
> the operation immediately and return an exception rather than allow problems 
> later, such as aborts. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to