1

Oozie : Sqoop dynamic target directory

view story
linux-howto

http://stackoverflow.com – I am executing sqoop job from Oozie workflow. I am able to create target directory with static names in sqoop command as follows. <action name="table1" cred=""> <sqoop xmlns="uri:oozie:sqoop-action:0.2"> <job-tracker>${jobTracker}</job-tracker> <name-node>${nameNode}</name-node> <command>job --exec EMPLOYEE --meta-connect jdbc:hsqldb:hsql://<host>:<port>/sqoop -- --target-dir /user/test/Employee/20150126</command> </sqoop> <ok to="end" /> <error to="kill" /> & (HowTos)