[ARVADOS] updated: e3c95c76496fe399ef145990114eb83918e10dac

git at public.curoverse.com git at public.curoverse.com
Fri Mar 14 15:11:20 EDT 2014


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

       via  e3c95c76496fe399ef145990114eb83918e10dac (commit)
      from  39cb61dfbcbeca5ff2d79ea9e9329beb6a4e489a (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 e3c95c76496fe399ef145990114eb83918e10dac
Author: Tim Pierce <twp at curoverse.com>
Date:   Fri Mar 14 15:12:09 2014 -0400

    collate_output: close the 'arv keep put' input fd before checking for output. Refs #2221

diff --git a/sdk/cli/bin/crunch-job b/sdk/cli/bin/crunch-job
index e6fa9fb..2cd1002 100755
--- a/sdk/cli/bin/crunch-job
+++ b/sdk/cli/bin/crunch-job
@@ -1075,11 +1075,12 @@ sub collate_output
       $main::success = 0;
     }
   }
+  $child_in->close;
+
   if (!defined $joboutput) {
     my $s = IO::Select->new($child_out);
     sysread($child_out, $joboutput, 64 * 1024 * 1024) if $s->can_read(5);
   }
-  $child_in->close;
   waitpid($pid, 0);
 
   if ($joboutput)

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list