Commit 3ac29ab5 authored by Leo Gordon's avatar Leo Gordon
Browse files

Make the -unkwn feature actually perform the cleanup

parent a305ecc0
......@@ -382,8 +382,8 @@ sub check_for_dead_workers { # scans the whole Valley for lost Workers (but i
if($worker->meadow_user eq $ENV{'USER'}) { # if I'm actually allowed to kill the worker...
warn "GarbageCollector:\tKilling/forgetting the UNKWN worker by process_id $process_id";
# $meadow->kill_worker($worker, 1);
# $status = ''; # make it look like LOST
$meadow->kill_worker($worker, 1);
$status = ''; # make it look like LOST
......@@ -531,6 +531,7 @@ __DATA__
-help : print this help
-versions : report both Hive code version and Hive database schema version
-dead : detect all unaccounted dead workers and reset their jobs for resubmission
-unkwn : detect all workers in UNKWN state and reset their jobs for resubmission (careful, they *may* reincarnate!)
-alldead : tell the database all workers are dead (no checks are performed in this mode, so be very careful!)
-balance_semaphores : set all semaphore_counts to the numbers of unDONE fan jobs (emergency use only)
-no_analysis_stats : don't show status of each analysis
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment