Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Job in REGISTERING state cannot be killed #56

Open
vschiavoni opened this issue Jan 9, 2016 · 0 comments
Open

Job in REGISTERING state cannot be killed #56

vschiavoni opened this issue Jan 9, 2016 · 0 comments

Comments

@vschiavoni
Copy link
Member

It seems that killing a job in REGISTERING state is not supported. See example output:

splayd@ubuntu:~/splay/src/rpc_client⟫ ./splay-list-jobs.lua

Job List =
        job_id=1, user_id=2, status=ENDED
        job_id=2, user_id=2, status=REGISTERING
        job_id=3, user_id=2, status=LOCAL
        job_id=4, user_id=2, status=ENDED
        job_id=5, user_id=2, status=ENDED

Totals =
REGISTER_TIMEOUT = 0
QUEUED = 0
NO_RESSOURCES = 0
ENDED = 3
LOCAL = 1
KILLED = 0
REGISTERING = 1
RUNNING = 0

splayd@ubuntu:~/splay/src/rpc_client⟫ ./splay-kill-job.lua 2

KILL command successfully sent
splayd@ubuntu:~/splay/src/rpc_client⟫ ./splay-list-jobs.lua

Job List =
        job_id=1, user_id=2, status=ENDED
        job_id=2, user_id=2, status=REGISTERING
        job_id=3, user_id=2, status=LOCAL
        job_id=4, user_id=2, status=ENDED
        job_id=5, user_id=2, status=ENDED

Totals =
REGISTER_TIMEOUT = 0
QUEUED = 0
NO_RESSOURCES = 0
ENDED = 3
LOCAL = 1
KILLED = 0
REGISTERING = 1
RUNNING = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant