浏览代码

HUE-6045 [Pig] Update LOG_END_PATTERN to identify completed jobs

krish 8 年之前
父节点
当前提交
a5aaf4c
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      apps/pig/src/pig/api.py

+ 4 - 1
apps/pig/src/pig/api.py

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