Code Monkey home page Code Monkey logo

exhibitor-mesos-framework's People

Contributors

abiletskyi avatar edgefox avatar joestein avatar olegkovalenko avatar serejja avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

exhibitor-mesos-framework's Issues

getting error in executor java.io.IOException: Could not find (.*log4j.*)|(.*slf4j.*) jar

2015-08-04 18:34:16,104 [Exhibitor] INFO org.mortbay.log - jetty-1.5.5
2015-08-04 18:34:16,537 [Exhibitor] INFO org.mortbay.log - Started [email protected]:31000
2015-08-04 18:35:15,786 [ActivityQueue-0] INFO com.netflix.exhibitor.core.activity.ActivityLog - State: down
2015-08-04 18:35:15,792 [ActivityQueue-0] INFO com.netflix.exhibitor.core.activity.ActivityLog - Attempting to stop instance
2015-08-04 18:35:15,792 [ActivityQueue-0] INFO com.netflix.exhibitor.core.activity.ActivityLog - Attempting to start/restart ZooKeeper
2015-08-04 18:35:15,997 [ActivityQueue-0] INFO com.netflix.exhibitor.core.activity.ActivityLog - jps didn't find instance - assuming ZK is not running
2015-08-04 18:35:15,999 [ActivityQueue-0] ERROR com.netflix.exhibitor.core.activity.ActivityLog - Monitoring instance
java.io.IOException: Could not find (.log4j.)|(.slf4j.) jar
at com.netflix.exhibitor.core.processes.Details.findJar(Details.java:145)
at com.netflix.exhibitor.core.processes.Details.(Details.java:57)
at com.netflix.exhibitor.core.processes.StandardProcessOperations.startInstance(StandardProcessOperations.java:105)
at com.netflix.exhibitor.core.state.KillRunningInstance.completed(KillRunningInstance.java:41)
at com.netflix.exhibitor.core.activity.ActivityQueue$1.run(ActivityQueue.java:127)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

when adding servers getting exhibitor api error

2015-08-04 18:34:16,637 [Thread-1284] INFO ly.stealth.mesos.exhibitor.Scheduler$ - Adding server 2 to ensemble
2015-08-04 18:36:23,929 [Thread-1284] INFO ly.stealth.mesos.exhibitor.Scheduler$ - Exhibitor API not available.
2015-08-04 18:38:32,184 [Thread-1284] INFO ly.stealth.mesos.exhibitor.Scheduler$ - Exhibitor API not available.
2015-08-04 18:40:40,440 [Thread-1284] INFO ly.stealth.mesos.exhibitor.Scheduler$ - Exhibitor API not available.

Autofill necessary shared-config properties

It makes sense to autofill zookeeper-install-directory, zookeeper-data-directory and zookeeper-log-directory properties and disable the possibility of setting them via CLI.

These values can be any because we create symbolic links to sandbox anyway so we could probably just hardcode them to be like /tmp/zookeeper-$frameworkid, /tmp/zookeeper-data-$frameworkid and /tmp/zookeeper-log-$frameworkid or something

Not getting response from scheduler

I'm running the scheduler inside of a docker container. It runs fine on an openstack vm but doesn't respond to any commands when run on bare metal. Both machines are running ubuntu 14.04. The docker container is built from ubuntu 15.04 with this version of java:

java version "1.8.0_74"
Java(TM) SE Runtime Environment (build 1.8.0_74-b02)
Java HotSpot(TM) 64-Bit Server VM (build 25.74-b02, mixed mode)

Iโ€™m able to connect to the port via netcat and other tools. When I run any cli command like status it just hangs. Any input or ideas would be appreciated. I should also not that I've tried running the container with --net=host and bridged networking with the same results.

Client, connect and election ports should be taken from offers also

Now Exhibitor uses Mesos-offered port only for Exhibitor UI. Client, connect and election ports should be also taken from offers and these ports must be the same across all running instances.

As a defensive mechanism we might probably also track changes of these ports (they can be changed via Exhibitor UI) and set them back to mesos-offered values

Hostnames Don't Match

When exhibitor comes up the config has the fqdn in the config. Exhibitor pulls the hostname here: https://github.com/Netflix/exhibitor/blob/master/exhibitor-core/src/main/java/com/netflix/exhibitor/core/Exhibitor.java#L107

That call is returns the short hostname which cause it to not find itself in the cluster's config.

I'm not sure if this is something done by the framework. Do you know what sets up the config in the parent zookeeper?

Thanks in advance and let me know if you need anymore information on this.

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.