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

the java application Stuck when i use mesos + marathon + java agent #7090

Open
dasonXu opened this issue Oct 23, 2019 · 1 comment
Open

the java application Stuck when i use mesos + marathon + java agent #7090

dasonXu opened this issue Oct 23, 2019 · 1 comment

Comments

@dasonXu
Copy link

dasonXu commented Oct 23, 2019

we use mesos and marathon to development app. it works cool as usual.
but when my java app start with an agent and i develop it in the same host, it will stuck.
it can fixed by set the config-value 'minimumHealthCapacity' to '0'. it means killed old instance.
but can you tell me why the new app will stuck. the log tell me, the jvm have be started, but quit immediately(maybe port conflict?),then it only do the method ‘premain’ of java agent, not do the main.

@jeschkies
Copy link
Contributor

Hi @dasonXu,

there can be many reasons why the app fails. The Marathon logs should show a TASK_FAILED status with a message. What does it say?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants