hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "edward yoon" <edw...@udanax.org>
Subject Re: Hbase Timestamp Error
Date Fri, 01 Feb 2008 04:07:33 GMT
Please use the hadoop 0.16 release or TRUNK version.

Thanks.

On 2/1/08, ma qiang <maqiang1984@gmail.com> wrote:
> Where can we get the higher version ? Which is the latest version?
> 0.16 or 0.15.2?
> Thank you !
>
>
>
> On Feb 1, 2008 6:58 AM, edward yoon <edward@udanax.org> wrote:
> > It required a higher version version than hadoop 0.16
> >
> >
> > On 1/31/08, Peeyush Bishnoi <peeyushb@yahoo-inc.com> wrote:
> > > Hi ,
> > >
> > > While inserting the data into Hbase , timestamp is giving problem.
> > >
> > > Hbase> select * from test;
> > > +-------------------------+-------------------------+-------------------------+
> > > | Row                     | Column                  | Cell
> > > |
> > > +-------------------------+-------------------------+-------------------------+
> > > | r1                      | a:                      | 10
> > > |
> > > +-------------------------+-------------------------+-------------------------+
> > > | r1                      | b:                      | 20
> > > |
> > > +-------------------------+-------------------------+-------------------------+
> > > | r1                      | c:                      | 30
> > > |
> > > +-------------------------+-------------------------+-------------------------+
> > >
> > > 3 row(s) in set (0.19 sec)
> > >
> > > Hbase> insert into test(a,b,c) values ('1','2','3') where row='r1'
> > > TIMESTAMP '200';
> > > Syntax error : Type 'help;' for usage.
> > > Message : Encountered "TIMESTAMP" at line 1, column 62.
> > > Hbase>
> > >
> > > But data gets inserted
> > >
> > > Hbase> insert into test(a,b,c) values ('1','2','3') where
> > > row='r1' ;
> > > 1 row inserted successfully. (0.01 sec)
> > > Hbase>
> > >
> > > Hbase> select * from
> > > test;
> > > +-------------------------+-------------------------+-------------------------+
> > > | Row                     | Column                  | Cell
> > > |
> > > +-------------------------+-------------------------+-------------------------+
> > > | r1                      | a:                      | 1
> > > |
> > > +-------------------------+-------------------------+-------------------------+
> > > | r1                      | b:                      | 2
> > > |
> > > +-------------------------+-------------------------+-------------------------+
> > > | r1                      | c:                      | 3
> > > |
> > > +-------------------------+-------------------------+-------------------------+
> > >
> > > 3 row(s) in set (0.09 sec)
> > > Hbase>
> > >
> > > But my old data in column get overridden with previous one. Can any one
> > > look into this and give their valuable suggestion why it is so.
> > >
> > > Why timestamp is not showing atall  but it is claimed to be working in
> > > the following URL: http://wiki.apache.org/hadoop/Hbase/HbaseShell/
> > >
> > > So please help me out with valuable solutions and example.
> > >
> > > Thanks
> > >
> > > ---
> > > Peeyush
> > >
> > >
> > >
> > >
> > >
> >
> >
> > --
> > B. Regards,
> > Edward yoon @ NHN, corp.
> >
>


-- 
B. Regards,
Edward yoon @ NHN, corp.

Mime
View raw message