Comments (6)
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.
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.
What method should be used for installation? There are no installation instructions other than the quick start...
from chronos.
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.
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.
This has been fixed by removing the scalastyle plugin for the time being!
from chronos.
Related Issues (20)
- Job arguments get appended on each execution
- Spark jobs priority with Chronos
- What version of Chronos should I use? HOT 5
- Index chronos_job_name_idx_1 is a duplicate of existing index chronos_job_name_idx
- How to use the `taskInfoData` job field HOT 4
- zk auth / framework registration race condition
- Chronos 2.5.1 fails to sustain registered state, flaps (ubuntu 14.04.05 LTS)
- Chronos not respecting role parameter HOT 1
- proxy to leader didn't work with https
- Avoid dumping environment variables in JobNotificationObserver
- Chronos doesn't support custom "ssl ciphers" and "tls version"
- Chronos schedule from Tuesday to Saturday
- how to define a volume as readonly when define a docker job?
- Mesos Chronos: Not able to add response headers
- KeeperErrorCode = ConnectionLoss for
- Chronos Intermittent Issue: Jobs get stuck HOT 9
- Tasks are not started on Windows agent
- Docker Job undocumented field
- Mesosphere Maven repository seems to no longer exist
- Filtering-hacking-sex-in the rubika"*a$10$lM.**QYhhhNamAVuOIEk4s6g.**OAl1cU1****Jqs54uO
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 chronos.