Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-2898

tez tools : swimlanes.py is broken in master

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.8.3
    • None
    • None
    • Reviewed

    Description

      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'
      

      Looks like the regex format needs to be updated to suite master branch format.
      \cc gopalv

      Attachments

        1. TEZ-2898.1.patch
          2 kB
          Rajesh Balamohan
        2. TEZ-2898.2.patch
          2 kB
          Rajesh Balamohan

        Issue Links

          Activity

            People

              rajesh.balamohan Rajesh Balamohan
              rajesh.balamohan Rajesh Balamohan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: