mesosphere-backup / sssp

S3 Proxy Mesos Framework
61 stars 10 forks source link

SSSP starts more executors than configured #7

Open stelcheck opened 10 years ago

stelcheck commented 10 years ago

When I set mesos.executors to 1, I get one, but when I set it to 2 I get 4... Any reasons why this behaviour would be?

stelcheck commented 10 years ago

Get 6 when configured to 3 executors.

stelcheck commented 10 years ago

I also notice that the IP presented at server:9000 are a bit weird:

172.16.4.2  9000    scheduler
127.0.0.1   31001   executor
127.0.0.1   31000   executor
127.0.0.1   31000   executor
127.0.0.1   31001   executor
127.0.0.1   31000   executor
127.0.0.1   31002   executor

Shouldn't those IP's be the ones of the jenkins slave where things are executed?

solidsnack commented 10 years ago

When I set mesos.executors to 1, I get one, but when I set it to 2 I get 4... Any reasons why this behaviour would be?

There must be something wrong with the offer handling code. Hmm.

Shouldn't those IP's be the ones of the jenkins slave where things are executed?

Yes.

stelcheck commented 10 years ago

I found out that the right IP may be configured by fixing one of the bash script in this repository. I'll try to come up with a proper way to correct the script in question.