FAQ
Hi all,

When I create a column for an Hbase table, I have to create
an instance of the HColumnDescriptor class, and
pass over an instance of the BloomFilterDescriptor class
describing which bloom filter to use to the constructor
of the HColumnDescriptor class.

But there is some inconvenience in using the BloomFilterDescriptor class:

1. Non-existence of a single argument constructor

When creating an instance of the BloomFilterDescriptor class,
I need to specify some options for the newly created bloom filter.
There are three options: type, vectorSize, nbHash.
I know that these options are important for
the internal working of a bloom filter, but I cannot help
but confess that I don't really understand
what vectorSize and hbHash mean and how these two options
affect the way in which a bloom filter works.
As the user of a bloom filter, the only thing I am concerned with is
the first option, the name of the bloom filter that I'd like to
use for the column, and it would be nice if the other options
are automatically decided and filled in.

So it would be nice if there is a constructor
with a single 'type' argument in the BloomFilterDescriptor class.

2. Bloom filter types are defined as integers

Bloom filter types are not in an enumeration class.
Thus, when filling in the type option of the constructor
from a String value, I always have to write some translation
code from the string value to one of the integer values
representing bloom filter types.

If there is an enumeration class containing bloom filter types,
I can utilize the valueOf method of the enumeration class
to do this tedious job.

Thanks,

Song


--
Inchul Song, Ph.D. Candidate
Database Lab
Division of Computer Science, KAIST

Email: icsong@dbserver.kaist.ac.kr, icsong@gmail.com
Phone: +82-42-869-3570
Fax: +82-42-867-2255

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-dev @
categorieshadoop
postedAug 22, '07 at 4:47p
activeAug 22, '07 at 4:47p
posts1
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Inchul Song: 1 post

People

Translate

site design / logo © 2022 Grokbase