Skip to content

Instantly share code, notes, and snippets.

View bluesheeptoken's full-sized avatar

Louis FRULEUX bluesheeptoken

View GitHub Profile
@airawat
airawat / 00-OozieWorkflowShellAction
Last active March 18, 2021 08:34
Oozie workflow with a shell action - with CaptureOutput Counts lines in a glob provided and writes the same to standard output. A subsequent email action emails the output of the shell action
This gist includes components of a oozie workflow - scripts/code, sample data
and commands; Oozie actions covered: shell action, email action
Action 1: The shell action executes a shell script that does a line count for files in a
glob provided, and writes the line count to standard output
Action 2: The email action emails the output of action 1
Pictorial overview of job:
--------------------------