-
Notifications
You must be signed in to change notification settings - Fork 32
Not able to deploy mr-redis Cluster on mesos. #52
Comments
Thanks for reporting, it is always useful with the Logs. Clearly something is wrong with the ZooKeeper drivers. Is the zookeeper reachable from the slaves? |
Yes, zookeeper is reachable **I1208 18:23:16.718339 114025 fetcher.cpp:424] Fetcher Info: {"cache_directory":"/tmp/mesos/fetch/slaves/83371dc2-4360-42c6-bb7c-35006d4de0fe-S22/root","items":[{"action":"BYPASS_CACHE","uri":{"executable":true,"extract":true,"value":"http://x.x.x.x:8090/MrRedisExecutor"}}],"sandbox_directory":"/data/mesos/slaves/83371dc2-4360-42c6-bb7c-35006d4de0fe-S22/frameworks/83371dc2-4360-42c6-bb7c-35006d4de0fe-1640/executors/default/runs/3ce8e1c8-09f4-4bbd-bc87-3aa33fbd11cf","user":"root"} |
@deepakkashyap This is interesting. Mr-redis comes with custom executor, it appears that it is unable to connect to the docker daemon at the mesos-agent. The customer executor will automatically perform a docker pull by communicating with the docker daemon, and then perform a docker run. |
in the config file , could you supply the actual "username" which has permission to access the docker
Ofcourse I'm assume that docker daemon is pre-installed on all your mesos Agents. :-) |
I am running framework as root user only. |
@deepakkashyap what is the docker version running on the 'Agent'? Do you have any redis containers already running on that slave?
|
Docker version is 1.11.2 |
OUTPUT:
curl -X "POST" mrredis.mesos:5656/v1/CREATE/redisCluster/100/1/2
2016/11/29 17:21:35 Instance Name=redisCluster, Capacity=100, masters=1, slaves=2 ConfigJson={1}
ZOO CREATE SECTION K=/MrRedis/Instances/redisCluster/
ZOO K=/MrRedis/Instances/redisCluster/Type V=MS
ZOO K=/MrRedis/Instances/redisCluster/Masters V=0
ZOO K=/MrRedis/Instances/redisCluster/Slaves V=0
ZOO K=/MrRedis/Instances/redisCluster/Capacity V=100
ZOO K=/MrRedis/Instances/redisCluster/ExpMasters V=1
ZOO K=/MrRedis/Instances/redisCluster/ExpSlaves V=2
ZOO K=/MrRedis/Instances/redisCluster/Status V=CREATING
ZOO K=/MrRedis/Instances/redisCluster/Mname V=
ZOO K=/MrRedis/Instances/redisCluster/DValue V=1
ZOO CREATE SECTION K=/MrRedis/Instances/redisCluster/Snames/
ZOO CREATE SECTION K=/MrRedis/Instances/redisCluster/Procs/
2016/11/29 17:21:35 [router.go:854] [D] | POST | /v1/CREATE/redisCluster/100/1/2 | 56.157575ms | match | /v1/CREATE/:INSTANCENAME/:CAPACITY/:MASTERS/:SLAVES |
2016/11/29 17:21:35 Received offer {true 0xc4200de360 1}
Request Accepted, Instance will be created.2016/11/29 17:21:35 Created 1 master offers for Instance redisCluster
root@mesos-master1:/usr/local/go/src/github.com/mesos/mr-redis/sched# 2016/11/29 17:21:35 Received Offer with CPU=7.5 MEM=13982 OfferID=215731b7-c3e2-4ad9-8333-c3c7231af861-O5849452
2016/11/29 17:21:35 Launched 1 tasks from this offer
2016/11/29 17:21:35 Received Offer with CPU=8 MEM=14014 OfferID=215731b7-c3e2-4ad9-8333-c3c7231af861-O5849453
2016/11/29 17:21:35 Launched 0 tasks from this offer
2016/11/29 17:21:35 MrRedis Receives offer
2016/11/29 17:21:35 MrRedis Task Update received
2016/11/29 17:21:35 Status={redisCluster::92b8edb7-96ee-4f1e-5f28-58a1a50b11a1 TASK_ERROR 215731b7-c3e2-4ad9-8333-c3c7231af861-S3 []}
2016/11/29 17:21:35 Received a Task update from the channel &{redisCluster::92b8edb7-96ee-4f1e-5f28-58a1a50b11a1 TASK_ERROR 215731b7-c3e2-4ad9-8333-c3c7231af861-S3 []}
2016/11/29 17:21:35 Invalid Key /MrRedis/Instances/redisCluster/Procs/92b8edb7-96ee-4f1e-5f28-58a1a50b11a1, Cannot load
2016/11/29 17:21:35 Invalid Key /MrRedis/Instances/redisCluster/Procs/, Cannot load
2016/11/29 17:21:35 Task redisCluster::92b8edb7-96ee-4f1e-5f28-58a1a50b11a1 is Error
curl hostname:port/v1/STATUS/redisCluster
{"Name":"redisCluster","Type":"MS","Status":"CREATING","Capacity":100,"Master":null,"Slaves":null}
Not able to debug whats wrong I'm doing.Can you please help?
The text was updated successfully, but these errors were encountered: