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

Running hazelcast #7

Open
neee opened this issue Nov 29, 2016 · 1 comment
Open

Running hazelcast #7

neee opened this issue Nov 29, 2016 · 1 comment

Comments

@neee
Copy link

neee commented Nov 29, 2016

Hello
I have a problem with starting hazelcast on mesos.
I used marathon manifest, mesos framework was installed successful but task "start hazelcast node" finish unsuccesfull:

node-f55685d2-f125-4c7f-baa0-e54e44179a56-S3	Hazelcast node	FAILED		2016-11-29T16:01:43+0300	ms2	Sandbox

I have run hazelcast framework on one node, but hazelcast node doesn't know node which are has been running and can't find and download hazelcast-3.6.jar

Mesos log:

I1129 13:23:24.493938  8508 fetcher.cpp:498] Fetcher Info: {"cache_directory":"\/tmp\/mesos\/fetch\/slaves\/f55685d2-f125-4c7f-baa0-e54e44179a56-S3\/root","items":[{"action":"BYPASS_CACHE","uri":{"extract":true,"value":"http:\/\/127.0.0.1:8090\/hazelcast-3.6.jar"}},{"action":"BYPASS_CACHE","uri":{"extract":true,"value":"http:\/\/127.0.0.1:8090\/hazelcast-mesos-executor.jar"}},{"action":"BYPASS_CACHE","uri":{"extract":true,"value":"http:\/\/127.0.0.1:8090\/hazelcast-zookeeper.jar"}},{"action":"BYPASS_CACHE","uri":{"extract":true,"value":"http:\/\/127.0.0.1:8090\/hazelcast.xml"}}],"sandbox_directory":"\/data\/mesos\/slaves\/f55685d2-f125-4c7f-baa0-e54e44179a56-S3\/frameworks\/f55685d2-f125-4c7f-baa0-e54e44179a56-0004\/executors\/HazelcastExecutor - 1480425804392\/runs\/1805f251-4996-44c6-b1e1-3e1dbaf315af","user":"root"}
I1129 13:23:24.496654  8508 fetcher.cpp:409] Fetching URI 'http://127.0.0.1:8090/hazelcast-3.6.jar'
I1129 13:23:24.496672  8508 fetcher.cpp:250] Fetching directly into the sandbox directory
I1129 13:23:24.496695  8508 fetcher.cpp:187] Fetching URI 'http://127.0.0.1:8090/hazelcast-3.6.jar'
I1129 13:23:24.496711  8508 fetcher.cpp:134] Downloading resource from 'http://127.0.0.1:8090/hazelcast-3.6.jar' to '/data/mesos/slaves/f55685d2-f125-4c7f-baa0-e54e44179a56-S3/frameworks/f55685d2-f125-4c7f-baa0-e54e44179a56-0004/executors/HazelcastExecutor - 1480425804392/runs/1805f251-4996-44c6-b1e1-3e1dbaf315af/hazelcast-3.6.jar'
Failed to fetch 'http://localhost:8090/hazelcast-3.6.jar': Error downloading resource: Couldn't connect to server

Failed to fetch http://localhost:8090/hazelcast-3.6.jar: Error downloading resource: Couldn't connect to server

My manifest:

{
  "id": "/hazelcast",
  "cmd": "cd hazelcast-mesos-0.1 && java -cp hazelcast-mesos-scheduler.jar HazelcastMain -Djava.net.preferIPv4Stack=true",
  "cpus": 0.01,
  "mem": 1024,
  "disk": 0,
  "instances": 1,
  "env": {
    "MIN_HEAP": "1g",
    "MEMORY_PER_NODE": "1024.0",
    "HOST": "localhost",
    "CPU_PER_NODE": "1.0",
    "HAZELCAST_VERSION": "3.6",
    "MESOS_ZK": "zk://zk1:2181,zk2:2181,zk3:2181/mesos",
    "NUMBER_OF_NODES": "3",
    "PORT": "8090",
    "MAX_HEAP": "1g"
  },
  "portDefinitions": [
    {
      "port": 10000,
      "protocol": "tcp",
      "labels": {}
    }
  ],
  "uris": [
    "https://s3.amazonaws.com/hazelcast/mesos/hazelcast-mesos-0.1.tar.gz"
  ],
  "fetch": [
    {
      "uri": "https://s3.amazonaws.com/hazelcast/mesos/hazelcast-mesos-0.1.tar.gz",
      "extract": true,
      "executable": false,
      "cache": false
    }
  ]
}
@wloczykij2
Copy link

Hi,
do you still have that problem?

Mcihal

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

No branches or pull requests

2 participants