R and hbase connectivity

131 views
Skip to first unread message

Manish Anand

unread,
Oct 7, 2013, 7:08:39 AM10/7/13
to rha...@googlegroups.com

Hi All,

I want to pull data from hbase using rhbase package but i am getting below error.

Could you please help me this ??

hb.scan("mytable",start=1,end=2,colspec=c("cf1"), sz = hb.defaults("sz"),usz = hb.defaults("usz"), hbc = hb.defaults("hbc"))

Error in hb.scan("mytable", start = 1, end = 2, colspec = c("cf1"), sz = hb.defaults("sz"),  :
  could not find function "sz"

Thanks,
Manish

David Champagne

unread,
Oct 7, 2013, 2:47:14 PM10/7/13
to rha...@googlegroups.com
There is no reason to pass sz, usz , hbc parameters on the call to hb.scan. Please look at the R Help files for the function. Here is an example of calling hb.scan

iter <- hb.scan("testtable",startrow="20100100",colspec="x")
Reply all
Reply to author
Forward
0 new messages