Giter Site home page Giter Site logo

can't install mesos about chronos HOT 6 CLOSED

mesos avatar mesos commented on August 25, 2024
can't install mesos

from chronos.

Comments (6)

slotrans avatar slotrans commented on August 25, 2024

The above error is due to sed commands of the form:
sed -i '' -e "long sed command" "path"

This usage of -i is incorrect. It should be either -i'' (no space), --in-place='', or most simply just -i with no suffix specified. Editing installer.bash accordingly allows it to run.

However, that doesn't really solve the "can't install" problem. The approach installer.bash takes to installing mesos (if you say you don't have it) is to clone the mesos git repo and compile from that. Unfortunately the current state of the git repo fails to compile, at least on the thoroughly-updated Amazon Linux 2012.09 machine I'm using.

I tried to work around that by grabbing the latest stable mesos which is 0.10.0-incubating. That compiles, but the chronos installer doesn't know what to do with it. It searches the mesos install path for a file matching 'mesos-*.jar' and doesn't find it. After compilation, the mesos source directory has a file src/mesos-0.10.0.jar but that file is not placed anywhere by "make install". There is a "make maven-install" which puts that jar (and others) into ~/.m2 but that is not going to help installer.bash find it. Manually copying mesos-0.10.0.jar somewhere under mesos' install path (/usr/local/mesos in my case) allows installer.bash to continue.

However, the installer STILL ultimately fails, like so:
JavaException: java.io.FileNotFoundException: /root/chronos.git/src/main/resources/assets/build/scripts/vendor/jquery.fastLiveFilter.js (No such file or directory)
In module tree:
main

JavaException: java.io.FileNotFoundException: /root/chronos.git/src/main/resources/assets/build/scripts/vendor/jquery.fastLiveFilter.js (No such file or directory)
In module tree:
main

JavaException: java.io.FileNotFoundException: /root/chronos.git/src/main/resources/assets/build/scripts/vendor/jquery.fastLiveFilter.js (No such file or directory)
In module tree:
main

from chronos.

andykram avatar andykram commented on August 25, 2024

The reason we include bin/install_mesos.bash is because we depend on features from an upcoming release of mesos. You'll need to use a version compiled from apache/mesos@3758114 or later in order to run chronos.

The JavaException: java.io.FileNotFoundException is the result of a file name being incorrectly capitalized. This has since been fixed and a git pull should clear that error right up.

The sed bug seems to be related to the version available. We use the FreeBSD version (Mac OSX), whereas it looks like you're running the GNU version. The installer is only meant to be used for getting a local environment setup quickly, so I wouldn't rely on it for remote installs. That said, we'd gladly accept a pull request to address this issue!

from chronos.

slotrans avatar slotrans commented on August 25, 2024

What method should be used for installation? There are no installation instructions other than the quick start...

from chronos.

florianleibert avatar florianleibert commented on August 25, 2024

You can use "mvn install" to build the jar file. If you want mesos instructions, you can visit this page: https://github.com/apache/mesos/blob/trunk/docs/Home.md.

We'll update the site to show more ways to build & deploy Chronos in the coming weeks. If you have any problems, feel free to reach out.

from chronos.

synotna avatar synotna commented on August 25, 2024

I was affected by the same sed error, but having had already installed mesos separately etc

Running mvn install seems to working fine, please update the quick start guide with it!

from chronos.

florianleibert avatar florianleibert commented on August 25, 2024

This has been fixed by removing the scalastyle plugin for the time being!

from chronos.

Related Issues (20)

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.