Sqoop export failing


#1

Please advise on the following sqoop export command:

sqoop export is failing and the reason is:
export file path, I gave:
/user/rajkvalluru123/cca159/retail_db/orders

But sqoop export is checking at:
/user/rajkvalluru123/cca159/retail_db/orders/orders

error message is:
17/11/20 15:11:19 WARN retry.RetryInvocationHandler: Exception while invoking ClientNamenodeProtocolTranslatorPB.getBlockL
ocations over null. Not retrying because try once and fail.
org.apache.hadoop.ipc.RemoteException(java.io.FileNotFoundException): Path is not a file: /user/rajkvalluru123/cca159/retail_db/orders/orders

![image|690x388]
(upload://tdpAsPSDfRHvb5gHKzldsSeBAZf.png)

sqoop export --connect jdbc:mysql://nn01.itversity.com:3306/retail_export
–username retail_dba --password itversity
–export-dir /user/rajkvalluru123/cca159/retail_db/orders --table rk_orders ;


#2

Did you get it resolved? Dont see the image that you attached