Ignore:
Timestamp:
2013-08-09T13:16:44+12:00 (11 years ago)
Author:
jmt12
Message:

Allow the hadoop report generator to parse start and end times expressed as doubles (with microtime) where they used to expect longs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs2-extensions/parallel-building/trunk/src/bin/script/hadoop_report.pl

    r27752 r28016  
    142142        while (my $line = <TIN>)
    143143        {
    144           if ($line =~ /\[Started:(\d+)\]/)
     144          if ($line =~ /\[Started:(\d+(?:\.\d+)?)\]/)
    145145          {
    146146            $task_record->{'start'} = $1;
     
    154154            $task_record->{'cpu'} = $1;
    155155          }
    156           elsif ($line =~ /\[Map:([^\]]+)=>1\]/)
     156          elsif ($line =~ /\[Map:([^\>]+)=>/)
    157157          {
    158158            $task_record->{'file'} = $1;
     
    167167            $io_start_time = 0;
    168168          }
    169           elsif ($line =~ /\[Completed:(\d+)\]/)
     169          elsif ($line =~ /\[Completed:(\d+(?:\.\d+)?)\]/)
    170170          {
    171171            my $end_time = $1;
Note: See TracChangeset for help on using the changeset viewer.