Hi, Removing spaces worked!!
Bill, thanks a lot for taking the time to look into this issue ! Regards, JR On Wed, Jun 15, 2011 at 12:21 PM, Bill Graham <[email protected]> wrote: > Try removing the spaces in the column list, i.e. commas only. > > On Tue, Jun 14, 2011 at 11:29 PM, James Ram <[email protected]> wrote: > > > Hi, > > > > I'm having trouble with using the importtsv tool. > > I ran the following command: > > > > hadoop jar hadoop_sws/hbase-0.90.0/hbase-0.90.0.jar importtsv > > -Dimporttsv.columns=HBASE_ROW_KEY ,b_info:name, b_info:contactNo, > > b_info:dob, b_info:email, b_info:marital_status, b_info:p_address, > > b_info:photo, demo_info:caste, demo_info:gender, demo_info:religion, > > beneficiarydetails user/sao_user/UserProfile.tsv > > > > > > And I got the following error: > > ERROR: One or more columns in addition to the row key are required > > Usage: importtsv -Dimporttsv.columns=a,b,c <tablename> <inputdir> > > > > I can't really find out the problem in the way I wrote the command. I > have > > added the column names after the HBASE_ROW_KEY. > > Where did I go wrong? > > > > -- > > With Regards, > > Jr. > > > -- With Regards, Jr.
