Sqoop export issue


#1

Hi,
I am trying to run below query and I am getting the error. Pelase help.
sqoop export --connect jdbc:mysql://nn.itversity.com/retail_export --username retail_dba --password itversity --table orders_kc --fields-terminated-by “,” --lines-terminated-by “\n” --num-mappers 10 --export-dir /user/kchejerla/mysql
Error
SqlManager: Error executing statement: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure


#2

@Kranthi_Kumar
Use below command:
sqoop export --connect jdbc:mysql://nn01.itversity.com/retail_export --username retail_dba --password itversity --table orders_kc --fields-terminated-by “,” --lines-terminated-by “\n” --num-mappers 10 --export-dir /user/kchejerla/mysql


#3