Did you write the table name ? and remove an extra space after hbase row key. I think that must be th reason ( I am not an expert , but have struggled alot with it. ) Thanks, Prashant On Wed, Jun 15, 2011 at 11:59 AM, 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. >
