Avro file import is not working in lab


#1

avro file import is not working in lab. I have used the following command.

sqoop import
–connect jdbc:mysql://ms.itversity.com:3306/retail_db
–username retail_user
–password itversity
–table products
–target-dir /user/gowthams/sqoop_import/products
–autoreset-to-one-mapper
–append
–as-avrofile


#2

I got it. Its --as-avrodatafile.


#3