In Oozie site it say 'Shell action's stdout and stderr output are redirected to the Oozie Launcher map-reduce job task STDOUT that runs the shell command'. Can any one tell me where to exactly look at?
Oozie runs the Shell action in a "launcher" (i.e. dummy Mapper) YARN countainer (#00002) under control of the mandatory AppMaster container (#00001)
- check your Oozie logs for "external ID
job_xxxxx_xxxx
" - connect to the dreadful YARN console
- search for
application_xxxxx_xxxx
(yeah, not "job"...) - ignore the AM logs link, go straight to the history link; if you are lucky it will redirect you somewhere
- hack your way to the stdout and stderr links
Good luck.
来源:https://stackoverflow.com/questions/33386470/oozie-shell-actions-stdout-and-stderr-output