[ARVADOS] updated: c6a6231e581f13b7ac670d66f47d4bbf4631fd7c

git at public.curoverse.com git at public.curoverse.com
Thu Oct 2 16:30:54 EDT 2014


Summary of changes:
 sdk/cli/bin/crunch-job | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

       via  c6a6231e581f13b7ac670d66f47d4bbf4631fd7c (commit)
       via  b8bbe883350ef3848c83fb545cf8f2a52dfc6397 (commit)
      from  1a9383924885f7d18f4fe0a9c06fdbb94c720e0a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit c6a6231e581f13b7ac670d66f47d4bbf4631fd7c
Author: Tim Pierce <twp at curoverse.com>
Date:   Thu Oct 2 16:29:50 2014 -0400

    3825: for writing output log, --retries=3
    
    When piping log output directly to arv-put, logging begins almost
    immediately when the job starts and we can't be clever about predicting
    --retry based on "how long this job has been running".

diff --git a/sdk/cli/bin/crunch-job b/sdk/cli/bin/crunch-job
index 745d979..29a04c2 100755
--- a/sdk/cli/bin/crunch-job
+++ b/sdk/cli/bin/crunch-job
@@ -1329,7 +1329,7 @@ sub start_output_log($)
   my $logfilename = shift;
   $log_pipe_pid = open2($log_pipe_out, $log_pipe_in,
                         'arv-put', '--portable-data-hash',
-                        '--retries', put_retry_count(),
+                        '--retries', '3',
                         '--filename', $logfilename,
                         '-');
 }

commit b8bbe883350ef3848c83fb545cf8f2a52dfc6397
Author: Tim Pierce <twp at curoverse.com>
Date:   Thu Oct 2 14:57:50 2014 -0400

    3825: fix $loglocator scope

diff --git a/sdk/cli/bin/crunch-job b/sdk/cli/bin/crunch-job
index 7840e8a..745d979 100755
--- a/sdk/cli/bin/crunch-job
+++ b/sdk/cli/bin/crunch-job
@@ -1423,7 +1423,7 @@ sub save_meta
   my $justcheckpoint = shift; # false if this will be the last meta saved
   return if $justcheckpoint;  # checkpointing is not relevant post-Warehouse.pm
 
-  $loglocator = finish_output_log();
+  my $loglocator = finish_output_log();
   Log (undef, "log manifest is $loglocator");
   $Job->{'log'} = $loglocator;
   $Job->update_attributes('log', $loglocator) if $job_has_uuid;

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list