hb.get.data.frame() returns NULL

55 views
Skip to first unread message

Heiko G.

unread,
Nov 12, 2015, 12:26:17 PM11/12/15
to RHadoop
Hello everbody,

I am just getting to know the rhbase library. 
Unfortunately the example code for hb.get.data.frame() returns NULL. What am I doing wrong, or has somebody else the same issue?
 
# create testtable
hb
.new.table('testtable','x:x','y:y','z:z') #works fine

# get data frame, note the columns have ":" appended
iter
<- hb.get.data.frame("testtable",start="20100105")
iter
()

I found the scan.data.frame function here: https://github.com/RevolutionAnalytics/rhbase/pull/4/files
The scan.data.frame function works for me.

When I want to do an analysis on big data, I should rather work with the rmr2 library using the experimental Hbase function, correct?
The hbase library is just for getting data in and out.

I was able to create a data.frame using data.table and hb.scan.ex().

Maybe someone can also explain if there are limitations to the filterstring parameter. I just got the SingleColumnValueFilter to work. Other tries returned a TException.


Reply all
Reply to author
Forward
0 new messages