[ARVADOS] updated: a61b22a2f1229e05f620c406fbcfd19ac6263f24
git at public.curoverse.com
git at public.curoverse.com
Thu Feb 26 11:12:48 EST 2015
Summary of changes:
sdk/cli/bin/crunch-job | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
via a61b22a2f1229e05f620c406fbcfd19ac6263f24 (commit)
from 253e2855e4ae2957c8087e6c5cec2a30fa2f7087 (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 a61b22a2f1229e05f620c406fbcfd19ac6263f24
Author: Brett Smith <brett at curoverse.com>
Date: Thu Feb 26 11:12:01 2015 -0500
5283: Revert excess log tweaking.
This is unhelpful after 687beeda.
diff --git a/sdk/cli/bin/crunch-job b/sdk/cli/bin/crunch-job
index 54b834b..9fb14b1 100755
--- a/sdk/cli/bin/crunch-job
+++ b/sdk/cli/bin/crunch-job
@@ -1306,13 +1306,11 @@ print (arvados.api("v1").collections().
++$task_idx;
my $output = $_->{'arvados_task'}->{output};
next if (!defined($output));
- my ($next_write, $errmsg);
+ my $next_write;
if ($output =~ /^[0-9a-f]{32}(\+\S+)*$/) {
$next_write = fetch_block($output);
- $errmsg = "Error fetching manifest from $output";
} else {
$next_write = $output;
- $errmsg = "No output set";
}
if (defined($next_write)) {
if (!defined(syswrite($child_in, $next_write))) {
@@ -1324,7 +1322,7 @@ print (arvados.api("v1").collections().
}
} else {
my $uuid = $_->{'arvados_task'}->{'uuid'};
- Log(undef, "$errmsg for task $task_idx ($uuid)");
+ Log (undef, "Error retrieving '$output' output by task $task_idx ($uuid)");
$main::success = 0;
}
}
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list