Comments (12)
I see your point and makes sense to have it that way. Thanks for your suggestion.
from hazelcast-mesos.
Can you share your marathon application json and environment variables ?
from hazelcast-mesos.
@eminn Sorry for my late reply. I'm using the same configuration that the README
file indicates. However I'm using docker
to run marathon
and mesos
. Would it be helpful tho share my docker-compose
file?
BTW, I'm using the official mesosphere images for marathon
and mesos
.
from hazelcast-mesos.
@eminn any idea what the issue might be?
from hazelcast-mesos.
@eschizoid sorry for the late reply, I was on vacation.
The scheduler creates a web server to distribute binaries to executors and that web server tries to bind itself to HOST:PORT
, the default value for HOST
environment variable is local host name
and for the default value for PORT
variable is 8090
.
Can you check whether any other service is running on the port 8090
?
from hazelcast-mesos.
@eminn Confirmed, I don't have any other service running on port 8090
from hazelcast-mesos.
Hi @eminn I upgraded to the latest version of mesos/marathon
and now the error that I'm seeing is from one of the mesos
slaves is the following:
I0812 14:50:06.079504 14859 logging.cpp:188] INFO level logging started!
I0812 14:50:06.079879 14859 fetcher.cpp:424] Fetcher Info: {"cache_directory":"\/tmp\/mesos\/fetch\/slaves\/6d1d98f0-756f-4c37-a492-41e6d819cdb4-S0\/root","items":[{"action":"BYPASS_CACHE","uri":{"cache":false,"executable":false,"extract":true,"value":"https:\/\/s3.amazonaws.com\/hazelcast\/mesos\/hazelcast-mesos-0.1.tar.gz"}}],"sandbox_directory":"\/var\/lib\/mesos\/slave\/slaves\/6d1d98f0-756f-4c37-a492-41e6d819cdb4-S0\/frameworks\/6d1d98f0-756f-4c37-a492-41e6d819cdb4-0000\/executors\/hazelcast.0eb77f21-609c-11e6-9a81-1a43a1b6df16\/runs\/1a6b3291-532b-4035-9bd7-a37bc49deb2e","user":"root"}
I0812 14:50:06.081496 14859 fetcher.cpp:379] Fetching URI 'https://s3.amazonaws.com/hazelcast/mesos/hazelcast-mesos-0.1.tar.gz'
I0812 14:50:06.081518 14859 fetcher.cpp:250] Fetching directly into the sandbox directory
I0812 14:50:06.081540 14859 fetcher.cpp:187] Fetching URI 'https://s3.amazonaws.com/hazelcast/mesos/hazelcast-mesos-0.1.tar.gz'
I0812 14:50:06.081557 14859 fetcher.cpp:134] Downloading resource from 'https://s3.amazonaws.com/hazelcast/mesos/hazelcast-mesos-0.1.tar.gz' to '/var/lib/mesos/slave/slaves/6d1d98f0-756f-4c37-a492-41e6d819cdb4-S0/frameworks/6d1d98f0-756f-4c37-a492-41e6d819cdb4-0000/executors/hazelcast.0eb77f21-609c-11e6-9a81-1a43a1b6df16/runs/1a6b3291-532b-4035-9bd7-a37bc49deb2e/hazelcast-mesos-0.1.tar.gz'
I0812 14:50:06.299124 14859 fetcher.cpp:84] Extracting with command: tar -C '/var/lib/mesos/slave/slaves/6d1d98f0-756f-4c37-a492-41e6d819cdb4-S0/frameworks/6d1d98f0-756f-4c37-a492-41e6d819cdb4-0000/executors/hazelcast.0eb77f21-609c-11e6-9a81-1a43a1b6df16/runs/1a6b3291-532b-4035-9bd7-a37bc49deb2e' -xf '/var/lib/mesos/slave/slaves/6d1d98f0-756f-4c37-a492-41e6d819cdb4-S0/frameworks/6d1d98f0-756f-4c37-a492-41e6d819cdb4-0000/executors/hazelcast.0eb77f21-609c-11e6-9a81-1a43a1b6df16/runs/1a6b3291-532b-4035-9bd7-a37bc49deb2e/hazelcast-mesos-0.1.tar.gz'
I0812 14:50:06.469746 14859 fetcher.cpp:92] Extracted '/var/lib/mesos/slave/slaves/6d1d98f0-756f-4c37-a492-41e6d819cdb4-S0/frameworks/6d1d98f0-756f-4c37-a492-41e6d819cdb4-0000/executors/hazelcast.0eb77f21-609c-11e6-9a81-1a43a1b6df16/runs/1a6b3291-532b-4035-9bd7-a37bc49deb2e/hazelcast-mesos-0.1.tar.gz' into '/var/lib/mesos/slave/slaves/6d1d98f0-756f-4c37-a492-41e6d819cdb4-S0/frameworks/6d1d98f0-756f-4c37-a492-41e6d819cdb4-0000/executors/hazelcast.0eb77f21-609c-11e6-9a81-1a43a1b6df16/runs/1a6b3291-532b-4035-9bd7-a37bc49deb2e'
I0812 14:50:06.469799 14859 fetcher.cpp:456] Fetched 'https://s3.amazonaws.com/hazelcast/mesos/hazelcast-mesos-0.1.tar.gz' to '/var/lib/mesos/slave/slaves/6d1d98f0-756f-4c37-a492-41e6d819cdb4-S0/frameworks/6d1d98f0-756f-4c37-a492-41e6d819cdb4-0000/executors/hazelcast.0eb77f21-609c-11e6-9a81-1a43a1b6df16/runs/1a6b3291-532b-4035-9bd7-a37bc49deb2e/hazelcast-mesos-0.1.tar.gz'
I0812 14:50:06.583722 14832 exec.cpp:143] Version: 0.28.1
I0812 14:50:06.586540 14869 exec.cpp:217] Executor registered on slave 6d1d98f0-756f-4c37-a492-41e6d819cdb4-S0
sh: java: command not found
Seems that the image doesn't java installed?
from hazelcast-mesos.
Hi @eschizoid ,
Yes it doesn't install Java by default. I think I need to update and add Java to pre-requisites.
from hazelcast-mesos.
I've just checked, it was already in the pre-requisites list. Check out https://github.com/hazelcast/hazelcast-mesos#prerequisites
from hazelcast-mesos.
Wouldn't be more easier to provision a base image that has java
installed along with the dist
version of hazelcast-mesos
? I feel having to install java
in all the different slaves defeats the whole purpose of what we are trying to accomplish with mesos
and marathon
.
mesos
slaves are never provision with java
, so every time I make a new slave I would have to make sure it has java
installed, otherwise this is not going to work.
from hazelcast-mesos.
I've created an issue for that, #5
from hazelcast-mesos.
Great closing #4
from hazelcast-mesos.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hazelcast-mesos.