[
https://issues.apache.org/jira/browse/HBASE-6370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13411470#comment-13411470
]
stack commented on HBASE-6370:
------------------------------
@ShiXing This is a good idea. I think you should be able to disable the master
check though. What do you think? Maybe the install is not the same on all
nodes on the cluster. Can you add a configuration to disable the master check
(it doesn't have to be in hbase-default.xml I'd say). If you think this
extreme, push back.
> Add compression codec test at HMaster when
> createTable/modifyColumn/modifyTable
> -------------------------------------------------------------------------------
>
> Key: HBASE-6370
> URL: https://issues.apache.org/jira/browse/HBASE-6370
> Project: HBase
> Issue Type: Improvement
> Reporter: ShiXing
> Assignee: ShiXing
> Priority: Minor
> Attachments: HBASE-6370-trunk-V1.patch
>
>
> We deployed a cluster that none of the regionserver supports the compression
> codec such like "lzo", but the cluster user/client does not know this, and he
> specifies the family's compression codec by
> HColumnDescripto.setCompressionType(Compresson.Algorithm.LZO);
> Because the HBaseAdmin's createTable is async, so the client is waiting all
> the regions of the table to be online forever. And client does not know why
> the regions are not online until the HBase administrator find this problem.
> In deed, all of the regions are assigning by master, but regionserver's
> openHRegion always failed.
> In my option, we can suppose all the cluster's enviroment are the same, means
> if the master is deployed some lib, the regionserver should also be deployed.
> Of course above is just a supposeļ¼ in real deployment, the hbase dba may just
> deploy lib on regionserver or master.
> So I think this failure can be found earlier before master create the
> CreateTableHandler thread, and we can tell client quickly we didn't support
> this compression codec type.
> I will upload the patch later.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira