mesos / mr-redis

Redis on Apache Mesos
Apache License 2.0
127 stars 32 forks source link

Creating redis failed due to error " uses less CPUs (None) than the minimum required (0.01). Please update your executor," #69

Open zousheng opened 7 years ago

zousheng commented 7 years ago

Hi,

II am trying to create single redis instance in mr-redis UI (all of mr-redis env is set up in centos 7.2 ), and it failed. I checked the executor and mesos master logs, the scheduler logs indicates the Executor lost on slave, I am a little confused about this, and the mesos-master log "uses less CPUs (None) than the minimum required (0.01)".

I have checked the environment, docker and go env, everyting works fine. Would you please give some advice? thanks

the master logs shows that:

W0809 15:42:37.689164 30062 validation.cpp:920] Executor 'default' for task 'tiantian_1234567890::3fd580ac-dedd-4cc0-4fa8-8b92d30d600d' uses less CPUs (None) than the minimum required (0.01). Please update your executor, as this will be mandatory in future releases. W0809 15:42:37.689666 30062 validation.cpp:932] Executor 'default' for task 'tiantian_1234567890::3fd580ac-dedd-4cc0-4fa8-8b92d30d600d' uses less memory (None) than the minimum required (32MB). Please update your executor, as this will be mandatory in future releases. I0809 15:42:37.689831 30062 master.cpp:8270] Adding task tiantian_1234567890::3fd580ac-dedd-4cc0-4fa8-8b92d30d600d with resources cpus():1; mem():100 on agent 0ba4db12-ca49-4e05-95d1-01aed982da90-S5,

and the scheduler log shows:

2017/08/09 16:17:26 MrRedis Task Update received 2017/08/09 16:17:26 Status={tiantian_1234567890::3fd580ac-dedd-4cc0-4fa8-8b92d30d600d TASK_ERROR 0ba4db12-ca49-4e05-95d1-01aed982da90-S5 []} 2017/08/09 16:17:26 Received a Task update from the channel &{tiantian_1234567890::3fd580ac-dedd-4cc0-4fa8-8b92d30d600d TASK_ERROR 0ba4db12-ca49-4e05-95d1-01aed982da90-S5 []} 2017/08/09 16:17:26 Invalid Key /MrRedis/Instances/tiantian_1234567890/Procs/3fd580ac-dedd-4cc0-4fa8-8b92d30d600d, Cannot load 2017/08/09 16:17:26 Invalid Key /MrRedis/Instances/tiantian_1234567890/Procs/, Cannot load 2017/08/09 16:17:26 Task tiantian_1234567890::3fd580ac-dedd-4cc0-4fa8-8b92d30d600d is Error 2017/08/09 16:17:26 executor "&ExecutorID{Value:default,XXX_unrecognized:[],}" lost on slave "&SlaveID{Value:0ba4db12-ca49-4e05-95d1-01aed982da90-S5,XXX_unrecognized:[],}" code 9