Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't parse sample files #10

Open
irudyak opened this issue Jan 24, 2018 · 0 comments
Open

Can't parse sample files #10

irudyak opened this issue Jan 24, 2018 · 0 comments

Comments

@irudyak
Copy link

irudyak commented Jan 24, 2018

Trying to check the tool on the samples provided. Command like this:

python parse_logs.py -w job_logs/2a_1391737661_job_log

Throws such exception:

Parsing file job_logs/2a_1391737661_job_log as JobLogger output
Traceback (most recent call last):
File "parse_logs.py", line 200, in
main(sys.argv[1:])
File "parse_logs.py", line 192, in main
analyzer = Analyzer(filename, opts.parse_as_single_job)
File "parse_logs.py", line 57, in init
self.jobs[0].add_event(line, False)
File "/Users/igor.rudyak/Projects/trace-analysis/job.py", line 39, in add_event
self.stages[stage_id].add_event(data, False)
File "/Users/igor.rudyak/Projects/trace-analysis/stage.py", line 292, in add_event
task = Task(data, is_json)
File "/Users/igor.rudyak/Projects/trace-analysis/task.py", line 10, in init
self.initialize_from_job_logger(data)
File "/Users/igor.rudyak/Projects/trace-analysis/task.py", line 118, in initialize_from_job_logger
self.start_time = int(items_dict["START_TIME"])
KeyError: 'START_TIME'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant