Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ensembl-hive
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
7
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
ensembl-hive
Commits
35b2e6ec
Commit
35b2e6ec
authored
13 years ago
by
Leo Gordon
Browse files
Options
Downloads
Patches
Plain Diff
pass debug level parameter from beekeeper.pl to runWorker.pl
parent
48f302a0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/beekeeper.pl
+5
-3
5 additions, 3 deletions
scripts/beekeeper.pl
with
5 additions
and
3 deletions
scripts/beekeeper.pl
+
5
−
3
View file @
35b2e6ec
...
...
@@ -95,9 +95,10 @@ sub main {
# worker control
'
job_limit|jlimit=i
'
=>
\
$self
->
{'
job_limit
'},
'
life_span|lifespan=i
'
=>
\
$self
->
{'
life_span
'},
'
logic_name=s
'
=>
\
$self
->
{'
logic_name
'},
'
hive_output_dir=s
'
=>
\
$self
->
{'
hive_output_dir
'},
'
logic_name=s
'
=>
\
$self
->
{'
logic_name
'},
'
hive_output_dir=s
'
=>
\
$self
->
{'
hive_output_dir
'},
'
retry_throwing_jobs=i
'
=>
\
$self
->
{'
retry_throwing_jobs
'},
'
debug=i
'
=>
\
$self
->
{'
debug
'},
'
batch_size=i
'
=>
\
$self
->
{'
batch_size
'},
# OBSOLETE!
'
maximise_concurrency=i
'
=>
\
$self
->
{'
maximise_concurrency
'},
# OBSOLETE!
...
...
@@ -337,7 +338,7 @@ sub generate_worker_cmd {
if
(
$self
->
{'
run_job_id
'})
{
$worker_cmd
.=
"
-job_id
"
.
$self
->
{'
run_job_id
'};
}
else
{
foreach
my
$worker_option
('
job_limit
',
'
life_span
',
'
logic_name
',
'
maximi
z
e_concurrency
',
'
retry_throwing_jobs
',
'
hive_output_dir
')
{
foreach
my
$worker_option
('
job_limit
',
'
life_span
',
'
logic_name
',
'
maximi
s
e_concurrency
',
'
retry_throwing_jobs
',
'
hive_output_dir
'
,
'
debug
'
)
{
if
(
defined
(
my
$value
=
$self
->
{
$worker_option
}))
{
$worker_cmd
.=
"
-
${worker_option}
$value
";
}
...
...
@@ -509,6 +510,7 @@ __DATA__
-logic_name <string> : restrict the pipeline stat/runs to this analysis logic_name
-retry_throwing_jobs 0|1 : if a job dies *knowingly*, should we retry it by default?
-hive_output_dir <path> : directory where stdout/stderr of the hive is redirected
-debug <debug_level> : set debug level of the workers
-batch_size <num> : [OBSOLETE!] Please modify batch_size of the analysis instead
-maximise_concurrency 1 : [OBSOLETE!] Please set the -priority of the analysis instead
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment