从输入命令开始分析:oozie job -oozie http://localhost:11000/oozie -config workflow/wf_job.properties -run
1.调用bin/oozie.sh
${JAVA_BIN} ${JAVA_PROPERTIES} -cp ${OOZIECPPATH} org.apache.oozie.cli.AuthOozieCLI "${@}"
显然是调用AuthOozieCLI.java
2. AuthOozieCLI.run()
3.jobCommand(CommandLine commandLine)
4. V1JobsServlet's doPost()
5. V1JobsServlet's submitJob()
6.String id = dagEngine.submitJob(conf, startJob);
7. SubmitCommand