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

Executor多占用分片资源导致资源浪费问题 #185

Closed
haocao opened this issue Nov 29, 2016 · 1 comment
Closed

Executor多占用分片资源导致资源浪费问题 #185

haocao opened this issue Nov 29, 2016 · 1 comment
Labels

Comments

@haocao
Copy link
Member

haocao commented Nov 29, 2016

将Executor默认占用资源设置为Cpu0.1,Memory32MB

@haocao haocao added the bug label Nov 29, 2016
@haocao haocao closed this as completed in 68b2e28 Nov 29, 2016
@hanahmily
Copy link
Contributor

Mesos源代码中将这两个值定位常量,编译期与运行期均不可修改

// Default cpu resource given to a command executor.
constexpr double DEFAULT_EXECUTOR_CPUS = 0.1;

// Default memory resource given to a command executor.
constexpr Bytes DEFAULT_EXECUTOR_MEM = Megabytes(32);

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

No branches or pull requests

2 participants