فهرست منبع

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