hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From praveenesh kumar <praveen...@gmail.com>
Subject Re: how to get record if comma is the part of rowkey
Date Thu, 20 Feb 2014 12:12:09 GMT
As far as I know, hbase shell is ruby based. Try using escape character ( \
)  before using comma ( , )
hbase(main):022:0> get 'StudentScoreCard' '3\,BCA'

Regards
Prav


On Thu, Feb 20, 2014 at 12:04 PM, Upendra Yadav <upendra1024@gmail.com>wrote:

> Hi,
>
> how to get record if comma is the part of rowkey
>
> I have data like :
> hbase(main):020:0> scan 'StudentScoreCard'
> ROW                         COLUMN+CELL
>
>  1,BCA                      column=marks:Bio, timestamp=1392896198268,
> value=86
>
> And now insted of SCAN command i want to use GET command(get ), but i m
> getting error...:
>
> hbase(main):022:0> get 'StudentScoreCard' '3,BCA'
>
> ERROR: wrong number of arguments (1 for 2)
>
> ==================
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message