adaltas / node-hbase

Asynchronous HBase client for NodeJs using REST

Home Page:https://hbase.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pre-Spliting While Table Creation

ScorpioKing opened this issue · comments

Hello,
I tried pre-spliting while creating table using node-hbase . Following is my schema for column family.

var _cfSchema=       { 
                        name                :   _cf,
                        BLOCKSIZE           :   '65536',
                        BLOOMFILTER         :   'NONE',
                        BLOCKCACHE          :   'true',
                        ENCODE_ON_DISK      :   'false',
                        COMPRESSION         :   'NONE',
                        VERSIONS            :   '1',
                        REPLICATION_SCOPE   :   '0',
                        TTL                 :   '2147483647',
                        IN_MEMORY           :   'false',
                        SPLITS              :["h","q","z"]

            };

Splits changes are not getting reflected for table.
I also tried

var _tableSchema={};
            _tableSchema.name=_tableName;
            _tableSchema.IS_META='false';
            _tableSchema.IS_ROOT='false'; 
                       _tableSchema.SPLITS = ["h","q","z"];

It also not working for me.
Please can you let me know if i am putting these param at wrong places ?

I have no idea, sorry. Could be that stargate doesnt support the feature.