You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Yuhao Bi (JIRA)" <ji...@apache.org> on 2015/05/26 06:06:17 UTC

[jira] [Created] (HBASE-13776) set illegal versions for HColumnDescriptor did not throw IllegalArgumentException

Yuhao Bi created HBASE-13776:
--------------------------------

             Summary: 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
            Priority: Minor


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)