You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Rajesh Balamohan (JIRA)" <ji...@apache.org> on 2015/10/27 23:03:27 UTC

[jira] [Updated] (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:all-tabpanel ]

Rajesh Balamohan updated TEZ-2898:
----------------------------------
    Attachment: TEZ-2898.1.patch

[~gopalv] - Please review when you find time.

We might need to introduce "completedLogs" (in TaskAttemptStartedEvent.java) for recent tez versions, which got removed as a part of log cleanup in TEZ-2774. Internally swimlane.py was using it to populate the link details. 

> 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
>         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)