Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl-hive
Commits
23391588
Commit
23391588
authored
Jun 16, 2004
by
Jessica Severin
Browse files
quiet down the debug statements to a bare minimum
parent
7c1f1d9f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/Bio/EnsEMBL/Hive/DBSQL/AnalysisJobAdaptor.pm
modules/Bio/EnsEMBL/Hive/DBSQL/AnalysisJobAdaptor.pm
+4
-4
No files found.
modules/Bio/EnsEMBL/Hive/DBSQL/AnalysisJobAdaptor.pm
View file @
23391588
...
...
@@ -222,7 +222,7 @@ sub _generic_fetch {
my
$sth
=
$self
->
prepare
(
$sql
);
$sth
->
execute
;
print
STDOUT
$sql
,"
\n
";
#
print STDOUT $sql,"\n";
return
$self
->
_objs_from_sth
(
$sth
);
}
...
...
@@ -338,7 +338,7 @@ sub store_out_files {
$sql
.=
"
(
"
.
$job
->
dbID
.
"
, 'STDOUT', '
"
.
$job
->
stdout_file
.
"
')
"
if
(
$job
->
stdout_file
);
$sql
.=
"
,
"
if
(
$job
->
stdout_file
and
$job
->
stderr_file
);
$sql
.=
"
(
"
.
$job
->
dbID
.
"
, 'STDERR', '
"
.
$job
->
stderr_file
.
"
')
"
if
(
$job
->
stderr_file
);
print
("
$sql
\n
");
#
print("$sql\n");
my
$sth
=
$self
->
prepare
(
$sql
);
$sth
->
execute
();
...
...
@@ -355,7 +355,7 @@ sub claim_jobs_for_worker {
my
$ug
=
new
Data::
UUID
;
my
$uuid
=
$ug
->
create
();
my
$claim
=
$ug
->
to_string
(
$uuid
);
print
("
claiming jobs with uuid
$claim
\n
");
print
("
claiming jobs
for hive_id=
",
$worker
->
hive_id
,
"
with uuid
$claim
\n
");
my
$sql
=
"
UPDATE analysis_job SET job_claim='
$claim
'
"
.
"
, hive_id='
"
.
$worker
->
hive_id
.
"
'
"
.
...
...
@@ -364,7 +364,7 @@ sub claim_jobs_for_worker {
"
AND analysis_id='
"
.
$worker
->
analysis
->
dbID
.
"
'
"
.
"
LIMIT
"
.
$worker
->
batch_size
;
print
("
$sql
\n
");
#
print("$sql\n");
my
$sth
=
$self
->
prepare
(
$sql
);
$sth
->
execute
();
$sth
->
finish
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment