Skip to content
This repository has been archived by the owner on Dec 2, 2022. It is now read-only.

Bug - TaskEvent only supports exitCode that in int range #64

Open
MaorAssayag opened this issue Oct 6, 2021 · 0 comments
Open

Bug - TaskEvent only supports exitCode that in int range #64

MaorAssayag opened this issue Oct 6, 2021 · 0 comments
Labels

Comments

@MaorAssayag
Copy link

MaorAssayag commented Oct 6, 2021

Nomad version

nomad-sdk version 0.11.3.0

Issue

TaskEvent.java only supports exitCode that in int range.

When I stopped a docker drived job (via Nomad UI), and then start it again - the JobsApi allocations method failed with Unable to parse error

Numeric value (3221225786) out of range of int

because the "Terminate" TaskEvents has this exit code (3221225786).

Code 3221225786

The application terminated as a result of a CTRL+C.
Indicates that the application has been terminated either by user's keyboard input CTRL+C or CTRL+Break or closing command prompt window.

Thank you for your effort and time.
Regards,
Maor

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
Development

No branches or pull requests

2 participants