[Pig] Update LOG_END_PATTERN to identify completed jobs
@@ -44,7 +44,10 @@ class OozieApi(object):
WORKFLOW_NAME = 'pig-app-hue-script'
LOG_START_PATTERN = '(Pig script \[(?:[\w.-]+)\] content:.+)'
- LOG_END_PATTERN = '(&lt;&lt;&lt; Invocation of Pig command completed &lt;&lt;&lt;|&lt;&lt;&lt; Invocation of Main class completed &lt;&lt;&lt;)'
+ LOG_END_PATTERN = '(&lt;&lt;&lt; Invocation of Pig command completed &lt;&lt;&lt;|' \
+ '&lt;&lt;&lt; Invocation of Main class completed &lt;&lt;&lt;|' \
+ '<<< Invocation of Pig command completed <<<|' \
+ '<<< Invocation of Main class completed <<<)'
MAX_DASHBOARD_JOBS = 100
