Giter VIP home page Giter VIP logo

exhibitor-dcos's Introduction

Exhibitor on DCOS

Why do this?

DCOS comes with an instance of ZooKeeper installed alongside the Mesos masters. However, we recommend you run 'userland' apps (i.e., apps/services that depend on ZK but are not core services) off a separate ZK cluster. The purpose of doing this is to limit the risk of a ZK outage from misbehaved clients affecting the central ZK cluster.

Install it via the DCOS CLI

$ dcos package install exhibitor

Test it

Check the cluster status:

$ curl -s http://exhibitor-dcos.marathon.mesos:31885/exhibitor/v1/cluster/status | jq '.'

Use it

Now connect your clients! For example, with the default name and port:

$ some-command ... --zk_url=zk://exhibitor-dcos.marathon.mesos:31886 ...

exhibitor-dcos's People

Contributors

brndnmtthws avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

exhibitor-dcos's Issues

Unable to install

Trying to install from universe via GUI on small cluster (m1 a1 a2).

{"type":"MarathonBadResponse","message":"Object is not valid","data":{"errors":[{"path":"/value/upgradeStrategy","errors":["got 1.0, expected 0.5 or less","got 1.0, expected 0.0"]},{"path":"/value/isResident","errors":["must be false"]}]}}

zookeeper.out grows without bound in dcos

Zookeeper hardcodes that file where the default appender in zkServer.sh is redirecting.
We probably want container stdout instead so the Mesos rotation will handle it.

root@ip-10-0-3-97:/opt/zookeeper/bin# ls -l $MESOS_SANDBOX/
total 29753312
drwxr-xr-x. 4 root root          43 Mar 29 20:03 data
-rw-r--r--. 1 root root         596 Apr 18 15:28 stderr
-rw-r--r--. 1 root root         255 Apr 18 15:28 stderr.logrotate.conf
-rw-r--r--. 1 root root         276 Apr 18 15:28 stderr.logrotate.state
-rw-r--r--. 1 root root        7552 Apr 25 15:32 stdout
-rw-r--r--. 1 root root         255 Apr 18 15:28 stdout.logrotate.conf
-rw-r--r--. 1 root root         276 Apr 18 15:28 stdout.logrotate.state
-rw-r--r--. 1 root root 28693695175 Apr 25 19:08 zookeeper.out

HTTPSConnectionPool SSLError "bad handshake"

I need help. I'm trying to run the command: python -m spacy download en_core_web_md, but I get an error:

line 506, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /explosion/spacy-models/master/shortcuts-v2.json (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_get_server_certificate', 'certificate verify failed')],)",),))

When I use pip install, I need to add this: --trusted-host pypi.org --trusted-host files.pythonhosted.org so I think the problem is something related to it but I cannot find the correct code to add to python -m spacy, some ideas???

Cluster is unable to start

Each mesos task that comes up tried to change the config to put only it's current server in the list. It just kept spinning and the tasks never found each other. I've attached my stdout and stderr.

stderr.txt
stdout.txt

Is there a reason this isn't a framework?

Instances not run in DC/OS but CPU is available

I'm running modified marathon-autoescale.py in DC/OS and I want to stop the autoescale when nodes haven't got enough CPU, but reached a number of instances, DC/OS wait for resources and more instances aren't running. I have one node with 90% CPU but the other two are 50%. What's happened?

This is my .json:

"volumes": null,
"id": "/logstash",
"cmd": "logstash -f $MESOS_SANDBOX/logstash_prueba1.conf --http.host 0.0.0.0 --http.port $PORT0 -w 1",
"instances": 1,
"cpus": 1,
"mem": 1024,
"disk": 0,
"gpus": 0,

"fetch": [
{
"uri": "http://analytics5:8008/logstash.conf"
}
],
"container": {
"docker": {
"image": "analytics5.analytics:5000/logstash:5",
"forcePullImage": true,
"privileged": false,
"network": "HOST"
}
},
"healthChecks": [
{
"protocol": "HTTP",
"path": "/"
}
],
"portDefinitions": [
{
"protocol": "tcp",
"port": 0,
"name": "monit"
}
],
"acceptedResourceRoles": null

THANK YOU!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.