hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yuhao Bi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-13776) set illegal versions for HColumnDescriptor did not throw IllegalArgumentException
Date Thu, 28 May 2015 14:58:18 GMT

     [ https://issues.apache.org/jira/browse/HBASE-13776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Yuhao Bi updated HBASE-13776:
-----------------------------
    Attachment: HBASE-13776.patch

> set illegal versions for HColumnDescriptor did not throw IllegalArgumentException 
> ----------------------------------------------------------------------------------
>
>                 Key: HBASE-13776
>                 URL: https://issues.apache.org/jira/browse/HBASE-13776
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Yuhao Bi
>            Assignee: Yuhao Bi
>         Attachments: HBASE-13776.patch
>
>
> HColumnDescriptor hcd = new HColumnDescriptor(
>         new HColumnDescriptor(HConstants.CATALOG_FAMILY)
>             .setInMemory(true)
>             .setScope(HConstants.REPLICATION_SCOPE_LOCAL)
>             .setBloomFilterType(BloomType.NONE)
>             .setCacheDataInL1(true));
>     final int minVersions = 123;
>     final int maxVersions = 234;
>     hcd.setMaxVersions(minVersions);
>     hcd.setMinVersions(maxVersions);
> //no exception throw



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

Mime
View raw message