Hi,

Could any one please provide me hbase(), attrhbase() commands. i try
to follow frpm the doc we have online but no luck for me. i need to
finish this ASAP.
i have a tab delimiter file on controller and i nee do sink this to
hbase. could anyone please give me sample command that works and table
description. when i try to execute it says success but i don't see
data

sample command i am using is

split( "\\t", 0 , "2hb_f1: session_id") split( "\\t", 1 ,"2hb_f1:
session_state") format("%{nanos}\t") split("\\t", 0, "2hb_")
attr2hbase( "test1", "", "", "2hb_", "1000", "false" )
or

split( "\t", 0 , "2hb_f1: session_id") split( "\t", 1 ,"2hb_f1:
session_state") format("%{nanos}\t") split("\\t", 0, "2hb_")
attr2hbase( "tt12", "", "", "2hb_", "1000", "false" )

and table is

 {NAME => 'test1', FAMILIES => [{NAME => 'f1', BLOOMFILTER => 'NONE',
REPLICATION_SCOPE => '0', COMPRESSION => 'NONE', VERSIONS =>  true
 '3', TTL => '2147483647', BLOCKSIZE => '65536', IN_MEMORY => 'false',
BLOCKCACHE => 'true'}, {NAME => 'f2', BLOOMFILTER => 'NONE',
  REPLICATION_SCOPE => '0', COMPRESSION => 'NONE', VERSIONS => '3',
TTL => '2147483647', BLOCKSIZE => '65536', IN_MEMORY => 'false'
 , BLOCKCACHE => 'true'}]}

Thanks,
SRavi

Reply via email to