I have following sqoop job which i written in sqoopJob.sh
-----------myscript.sh------------------
TARGET_DIR=date+"%Y_%m_%d"
sqoop import --connect jdbc:mysql://localhost/mydb --username root --password root --table Customer --m 1 --target-dir /temp/$TARGET_DIR
Which I want to execute using oozie.
It gives me following error
Cannot run program "CustomerImportScript.sh" (in directory "/hadoop/yarn/local/usercache/hue/appcache/application_1449233755312_0070/container_e11_1449233755312_0070_01_000002"): error=2, No such file or directory