hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matteo Bertozzi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-13776) Setting illegal versions for HColumnDescriptor does not throw IllegalArgumentException
Date Fri, 29 May 2015 16:12:18 GMT

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

Matteo Bertozzi commented on HBASE-13776:
-----------------------------------------

this commit breaks the build in 1.0
{noformat}hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java:[1385,39]
error: cannot find symbol{noformat}
warnOrThrowExceptionForFailure() does not exists in 1.0

> Setting illegal versions for HColumnDescriptor does not throw IllegalArgumentException

> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-13776
>                 URL: https://issues.apache.org/jira/browse/HBASE-13776
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 2.0.0, 0.98.14, 1.0.2, 1.2.0, 1.1.1
>            Reporter: Yuhao Bi
>            Assignee: Yuhao Bi
>             Fix For: 2.0.0, 0.98.14, 1.0.2, 1.2.0, 1.1.1
>
>         Attachments: HBASE-13776-v1.patch, HBASE-13776-v2.patch, 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