Try the following:

hql> create table webtable(
  --> contents MAX_VERSIONS=10 COMPRESSION=BLOCK,
  --> anchor MAX_LENGTH=256 BLOOMFILTER=COUNTING_BLOOMFILTER
  --> VECTOR_SIZE=10000 NUM_HASH=4);

* BLOOMFILTER=NONE|BLOOMFILTER|COUNTING_BLOOMFILTER|RETOUCHED_BLOOMFILTER

Thanks,
Edward.
------------------------------

B. Regards,

Edward yoon @ NHN, corp.
Home : http://www.udanax.org


> Subject: Hbase tutorial?
> Date: Tue, 18 Dec 2007 13:38:46 +0100
> From: [EMAIL PROTECTED]
> To: hadoop-user@lucene.apache.org
>
> I tried to enter some test tables in hbase. The example was taken from
> http://wiki.apache.org/lucene-hadoop/Hbase/HbaseShell but it fails no
> matter which bloomfiler option I choose. Is there a better tutorial?
>
>
>
> Hbase> CREATE TABLE webtable (
>
> --> contents MAX_VERSIONS=10 COMPRESSION=BLOCK,
>
> --> anchor MAX_LENGTH=256 BLOOMFILTER=COUNTING
>
> --> VECTOR_SIZE=1000000 NUM_HASH=4);
>
> Syntax error : Type 'help;' for usage.
>
> Message : Encountered "COUNTING" at line 1, column 104.
>
> Hbase>
>
> Hope someone will answer this newbie question...
>
>
>
> \Peter
>
>
>

_________________________________________________________________
Share life as it happens with the new Windows Live.
http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_122007

Reply via email to