Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-13776

Setting illegal versions for HColumnDescriptor does not throw IllegalArgumentException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.98.14, 1.0.2, 1.2.0, 1.1.1, 2.0.0
    • 0.98.13, 1.0.2, 1.2.0, 1.1.1, 2.0.0
    • API
    • None
    • Reviewed

    Description

      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

      Attachments

        1. HBASE-13776.patch
          1 kB
          Yuhao Bi
        2. HBASE-13776-v1.patch
          2 kB
          Yuhao Bi
        3. HBASE-13776-v2.patch
          2 kB
          Yuhao Bi
        4. HBASE-13776-1.0.patch
          2 kB
          Yuhao Bi

        Activity

          People

            byh0831 Yuhao Bi
            byh0831 Yuhao Bi
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: