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 Thu, 31 Jan 2008 22:58:47 GMT
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.

Mime
View raw message