Repository: tez Updated Branches: refs/heads/master 87b602371 -> 8d1ec6f59
TEZ-3794. tez-tools: swimlane does not recognize HistoryEventHandler.criticalEvents based logs (rbalamohan) Project: http://git-wip-us.apache.org/repos/asf/tez/repo Commit: http://git-wip-us.apache.org/repos/asf/tez/commit/8d1ec6f5 Tree: http://git-wip-us.apache.org/repos/asf/tez/tree/8d1ec6f5 Diff: http://git-wip-us.apache.org/repos/asf/tez/diff/8d1ec6f5 Branch: refs/heads/master Commit: 8d1ec6f5964327b323d873d6fe071c3085ea8205 Parents: 87b6023 Author: Rajesh Balamohan <[email protected]> Authored: Thu Jul 13 03:25:08 2017 +0530 Committer: Rajesh Balamohan <[email protected]> Committed: Thu Jul 13 03:25:08 2017 +0530 ---------------------------------------------------------------------- tez-tools/swimlanes/amlogparser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tez/blob/8d1ec6f5/tez-tools/swimlanes/amlogparser.py ---------------------------------------------------------------------- diff --git a/tez-tools/swimlanes/amlogparser.py b/tez-tools/swimlanes/amlogparser.py index 71db145..16b82bc 100644 --- a/tez-tools/swimlanes/amlogparser.py +++ b/tez-tools/swimlanes/amlogparser.py @@ -197,7 +197,7 @@ class AMLog(object): def init(self): ID=r'[^\]]*' TS=r'[0-9:\-, ]*' - MAIN_RE=r'^(?P<ts>%(ts)s) [?INFO]? [(?P<thread>%(id)s)] \|?(org.apache.tez.dag.)?history.HistoryEventHandler\|?: [HISTORY][DAG:(?P<dag>%(id)s)][Event:(?P<event>%(id)s)]: (?P<args>.*)' + MAIN_RE=r'^(?P<ts>%(ts)s) [?INFO]? [(?P<thread>%(id)s)] \|?((HistoryEventHandler.criticalEvents)|((org.apache.tez.dag.)?history.HistoryEventHandler))\|?: [HISTORY][DAG:(?P<dag>%(id)s)][Event:(?P<event>%(id)s)]: (?P<args>.*)' MAIN_RE = MAIN_RE.replace('[','\[').replace(']','\]') MAIN_RE = MAIN_RE % {'ts' : TS, 'id' : ID} self.MAIN_RE = re.compile(MAIN_RE)
