private void setDefaultConfiguration ( HTableDescriptor tableDescriptor , Configuration conf ) { String compression = conf . get ( CFG_HBASE_TABLE_COMPRESSION , DEFAULT_COMPRESSION_TYPE . name ( ) ) ; CompressionType compressionAlgo = CompressionType . valueOf ( compression ) ; for ( HColumnDescriptor hcd : tableDescriptor . getColumnFamilies ( ) ) { setCompression ( hcd , compressionAlgo ) ; setBloomFilter ( hcd , BloomType . ROW ) ; } }
which doesn t support certain compression type