mesos / mr-redis

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

Error while running mesos slave on OSX #24

Closed pradeepchhetri closed 8 years ago

pradeepchhetri commented 8 years ago
I0610 17:37:12.995946 1965056784 fetcher.cpp:424] Fetcher Info: {"cache_directory":"\/tmp\/mesos\/fetch\/slaves\/acd6d642-dc2c-49f7-becf-1aa2f3dd6904-S1\/root","items":[{"action":"BYPASS_CACHE","uri":{"executable":true,"extract":true,"value":"http:\/\/127.0.0.1:5454\/MrRedisExecutor"}},{"action":"BYPASS_CACHE","uri":{"executable":true,"extract":true,"value":"http:\/\/127.0.0.1:5454\/redis-server"}}],"sandbox_directory":"\/tmp\/mesos\/slaves\/acd6d642-dc2c-49f7-becf-1aa2f3dd6904-S1\/frameworks\/acd6d642-dc2c-49f7-becf-1aa2f3dd6904-0000\/executors\/default\/runs\/3d5e6bce-9de0-4513-a56a-3b65bb54df3c","user":"root"}
I0610 17:37:12.999377 1965056784 fetcher.cpp:379] Fetching URI 'http://127.0.0.1:5454/MrRedisExecutor'
I0610 17:37:12.999409 1965056784 fetcher.cpp:250] Fetching directly into the sandbox directory
I0610 17:37:12.999459 1965056784 fetcher.cpp:187] Fetching URI 'http://127.0.0.1:5454/MrRedisExecutor'
I0610 17:37:12.999474 1965056784 fetcher.cpp:134] Downloading resource from 'http://127.0.0.1:5454/MrRedisExecutor' to '/tmp/mesos/slaves/acd6d642-dc2c-49f7-becf-1aa2f3dd6904-S1/frameworks/acd6d642-dc2c-49f7-becf-1aa2f3dd6904-0000/executors/default/runs/3d5e6bce-9de0-4513-a56a-3b65bb54df3c/MrRedisExecutor'
I0610 17:37:13.167969 1965056784 fetcher.cpp:456] Fetched 'http://127.0.0.1:5454/MrRedisExecutor' to '/tmp/mesos/slaves/acd6d642-dc2c-49f7-becf-1aa2f3dd6904-S1/frameworks/acd6d642-dc2c-49f7-becf-1aa2f3dd6904-0000/executors/default/runs/3d5e6bce-9de0-4513-a56a-3b65bb54df3c/MrRedisExecutor'
I0610 17:37:13.168011 1965056784 fetcher.cpp:379] Fetching URI 'http://127.0.0.1:5454/redis-server'
I0610 17:37:13.168025 1965056784 fetcher.cpp:250] Fetching directly into the sandbox directory
I0610 17:37:13.168042 1965056784 fetcher.cpp:187] Fetching URI 'http://127.0.0.1:5454/redis-server'
I0610 17:37:13.168057 1965056784 fetcher.cpp:134] Downloading resource from 'http://127.0.0.1:5454/redis-server' to '/tmp/mesos/slaves/acd6d642-dc2c-49f7-becf-1aa2f3dd6904-S1/frameworks/acd6d642-dc2c-49f7-becf-1aa2f3dd6904-0000/executors/default/runs/3d5e6bce-9de0-4513-a56a-3b65bb54df3c/redis-server'
I0610 17:37:13.261274 1965056784 fetcher.cpp:456] Fetched 'http://127.0.0.1:5454/redis-server' to '/tmp/mesos/slaves/acd6d642-dc2c-49f7-becf-1aa2f3dd6904-S1/frameworks/acd6d642-dc2c-49f7-becf-1aa2f3dd6904-0000/executors/default/runs/3d5e6bce-9de0-4513-a56a-3b65bb54df3c/redis-server'
F0610 17:37:13.397745   14834 node.go:18] Couldn't determine hostname: exit status 1

Looks like the mesos-go in our godep is old which runs hostname -A command to figure out the hostname, It is fixed in the latest mesos-go which uses hostname -f

dhilipkumars commented 8 years ago

Ah! my bad. No no they are not mesos-go bugs. I have changed it to workin my cluster and have checked in by mistake. Ill revert it.

Thanks for noticing. :-)

dhilipkumars commented 8 years ago

HI @pradeepchhetri ,

Sorry for the delay. I have updated the dependent library plus have implemented few other functionality like Master-Slave auto promotion. Could you try now please?

Closing this issue, Feel free to re-open it.