Issues in Oozie job for Sqoop

Hi Team,

Please find the below script, i am getting the error as :slight_smile:

java.io.IOException: configuration is not specified
at org.apache.oozie.cli.OozieCLI.getConfiguration(OozieCLI.java:816)
at org.apache.oozie.cli.OozieCLI.jobCommand(OozieCLI.java:1055)
at org.apache.oozie.cli.OozieCLI.processCommand(OozieCLI.java:686)
at org.apache.oozie.cli.OozieCLI.run(OozieCLI.java:639)
at org.apache.oozie.cli.OozieCLI.main(OozieCLI.java:225)
configuration is not specified

Steps i followed

  1. job.properties
    nameNode=hdfs://nn01.itversity.com:8020
    jobTracker:8050=rm01.itversity.com
    queueName=default
    oozie.use.system.libpath=true
    oozie.libpath=${nameNode}/user/oozie/share/lib/lib_20180803155221/sqoop/
    oozie.wf.application.path=${nameNode}/user/${user.name}/workflow/sqoop

  2. workflow.xml

<?xml version="1.0" encoding="UTF-8" standalone="no"?> ${resourceManager} ${nameNode} import --connect "jdbc:mysql://nn01.itversity.com:3306/retail_export" --username retail_dba --password itversity --table xxinfo1 --target-dir /appsplay/silukanhdfs/sparklab/sqoop1 --num-mappers 4 2019-11-14T:00:40:00 ${5*MINUTES} ${wf:errorMessage(wf:lastErrorNode())}
  1. Run oozie job.properties:
    oozie job -oozie http://nn01.itversity.com:11000/oozie -config /user/silukansahoo/workflow/sqoop/job.properties

Note: After --config i have passed the /user/silukansahoo/work* is the hdfs location where the job.proprteies and workflow.xml file exists .

Please suggest where i made mistakes and what is the way we can fix this.

Regards,
Silukan