Not sure what you meant by deleting bloom filter type.
Bloom filter type is used when constructing store file. See the following
in HStore:

  private HStoreFile createStoreFileAndReader(StoreFileInfo info) throws
IOException {

    info.setRegionCoprocessorHost(this.region.getCoprocessorHost());

    HStoreFile storeFile = new HStoreFile(this.getFileSystem(), info, this.
conf, this.cacheConf,

        this.family.getBloomFilterType(), isPrimaryReplicaStore());


If you want to use a different bloom filter, you can issue this command:


alter 'test', { NAME => 'cf', BLOOMFILTER => 'ROW' }


Cheers

On Mon, Jan 1, 2018 at 6:22 AM, Jean-Marc Spaggiari <jean-m...@spaggiari.org
> wrote:

> Hi,
>
> What is the magic to delete a CF parameter?
>
> Like in this example:
> hbase(main):033:0> desc 'table'
> Table dns is ENABLED
>
>
>
>
> table
>
>
>
>
> COLUMN FAMILIES DESCRIPTION
>
>
>
>
> {NAME => '@', VERSIONS => '1', EVICT_BLOCKS_ON_CLOSE => 'false',
> NEW_VERSION_BEHAVIOR => 'false', KEEP_DELETED_CELLS => 'false',
> CACHE_DATA_ON_WRITE => 'false', DATA_BLOCK_ENCODING => 'NONE', TTL =>
> 'FOREVER', MIN_VERSIONS => '0', REPLICATION_SCOPE => '0', BLOOMFILTER =>
> 'NONE', CACHE_INDEX_ON_WRITE => 'false', IN_MEM
> ORY => 'false', CACHE_BLOOMS_ON_WRITE => 'false', PREFETCH_BLOCKS_ON_OPEN
> => 'false', COMPRESSION => 'SNAPPY', BLOCKCACHE => 'true', BLOCKSIZE =>
> '65536', METADATA => {'ENCODE_ON_DISK' => 'true'}}
>
>
> 1 row(s)
> Took 0.0368 seconds
>
>
>
>
> I want to remove the BLOOMFILTER => 'NONE',  parameter that I have set. I
> found how to remove the CF, table parameters and options, etc. But I have
> not found how to delete the CF parameter. IIRC there was something with
> :NILL or similar, but I'm not 100% sure.
>
> In any case, I feel this should be better documented :(
>
> JMS
>

Reply via email to