but can't i get the data w.r.t time stamp? e.g in this example the row key is same but contents has different data w.r.t time stamp so in my case, i have inserted different data in same column but there timestamp should be different.is it not so?
*Row Key* *Time Stamp* *Column* *"contents:"* *Column* *"anchor:"* *Column* *"mime:"* "com.cnn.www" t9 "anchor:cnnsi.com" "CNN" t8 "anchor:my.look.ca" "CNN.com" t6 "<html>..." "text/html" t5 "<html>..." t3 "<html>..." On Sun, Aug 22, 2010 at 3:23 PM, Jeff Zhang <[email protected]> wrote: > Of course, there's only one row. Your two put command has the same row > key and same column > > > > On Sun, Aug 22, 2010 at 3:05 AM, Shuja Rehman <[email protected]> > wrote: > > Hi > > I have a question about getting the data from hbase. > > > > I have created a table and adding rows like this > > > > put "blogposts","post1","post:author","MyAuthoor" > > put "blogposts","post1","post:author","MyAuthoor2" > > > > but when i getting the data using scan "blogposts", it only returns the > > single row > > > > ROW COLUMN+CELL > > post1 column=post:author, > timestamp=1282470167449, > > value=MyAuthoor2 > > > > I want to get all the rows.How i can get all the rows? > > > > Thanks > > -- > > Regards > > Shuja-ur-Rehman Baig > > http://pk.linkedin.com/in/shujamughal > > Cell: +92 3214207445 > > > > > > -- > Best Regards > > Jeff Zhang > -- Regards Shuja-ur-Rehman Baig http://pk.linkedin.com/in/shujamughal Cell: +92 3214207445
