SQOOP MERGE COMMAND is not woking(resolved : please ignore)

sqoop

#1

Hi ,

I am getting error CLASS-NAME not found from SQOOP MERGE.

##2

sqoop import
–connect jdbc:mysql://ms.itversity.com:3306/retail_export
–username retail_user
–password itversity
–table prod_replica
–target-dir /user/sushital1997/problem51/products-textt-part1
–fields-terminated-by ‘*’
–lines-terminated-by ‘\n’
–null-string ‘NA’
–null-non-string -1000
–where “product_id <= 1111”
–outdir /home/sushital1997/sqoop2
–num-mappers 2
–as-textfile

##3

sqoop import
–connect jdbc:mysql://ms.itversity.com:3306/retail_export
–username retail_user
–password itversity
–table prod_replica
–target-dir /user/sushital1997/problem51/products-textt-part2
–fields-terminated-by ‘*’
–lines-terminated-by ‘\n’
–null-non-string -1000
–null-string ‘NA’
–where “product_id > 1111”
–outdir /home/sushital1997/sqoop3
–num-mappers 5
–as-textfile

##4
sqoop merge
–class-name prod_replica
–jar-file /tmp/sqoop-sushital1997/compile/3a8906852b99a5849b033d23acc33e64/prod_replica.jar
–new-data /user/sushital1997/problem51/products-text-part2
–onto /user/sushital1997/problem51/products-text-part1
–target-dir /user/sushital1997/problem51/products-text-both-parts
–merge-key ‘product_id’

I have provided -outdir during sqoop import as provided above.
Can you please help me to solve this issues ?

Thanks,
Sushital


#2