Hi Upendra, comma is missing between table name and rowkey. Thats why you are getting the error. It should be like this. hbase(main):024:0> get 'StudentScoreCard','3,BCA'
Thanks, Rajeshbabu ________________________________________ From: Upendra Yadav [[email protected]] Sent: Thursday, February 20, 2014 5:47 PM To: [email protected] Subject: Re: how to get record if comma is the part of rowkey with hbase(main):024:0> get 'StudentScoreCard' '3\,BCA' ERROR: wrong number of arguments (1 for 2) Still i am getting same error.... On Thu, Feb 20, 2014 at 5:42 PM, praveenesh kumar <[email protected]>wrote: > 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 <[email protected] > >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) > > > > ================== > > >
