You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Gopal V (JIRA)" <ji...@apache.org> on 2016/01/14 08:16:39 UTC

[jira] [Commented] (TEZ-2898) tez tools : swimlanes.py is broken in master

    [ https://issues.apache.org/jira/browse/TEZ-2898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15097750#comment-15097750 ] 

Gopal V commented on TEZ-2898:
------------------------------

[~rajesh.balamohan]: the regex bits look good to me, but the loss of the link is somewhat annoying - but if it isn't in the logs, there's nothing to be done about that.

> tez tools : swimlanes.py is broken in master
> --------------------------------------------
>
>                 Key: TEZ-2898
>                 URL: https://issues.apache.org/jira/browse/TEZ-2898
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Rajesh Balamohan
>            Assignee: Rajesh Balamohan
>         Attachments: TEZ-2898.1.patch
>
>
> {noformat}
> Traceback (most recent call last):
>   File "swimlane.py", line 199, in <module>
>     sys.exit(main(sys.argv[1:]))
>   File "swimlane.py", line 120, in main
>     log = AMLog(args[0]).structure()
>   File "/Users/rbalamohan/Documents/workspace/tez-autobuild/tez/tez-tools/swimlanes/amlogparser.py", line 208, in __init__
>     self.events = filter(lambda a:a, [self.parse(l.strip()) for l in fp])
>   File "/Users/rbalamohan/Documents/workspace/tez-autobuild/tez/tez-tools/swimlanes/amlogparser.py", line 275, in parse
>     ts = m.group("ts")
> AttributeError: 'NoneType' object has no attribute 'group'
> {noformat}
> Looks like the regex format needs to be updated to suite master branch format. 
> \cc [~gopalv]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)