-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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
mesos: 0.28.2 -> 1.0.1 #19064
mesos: 0.28.2 -> 1.0.1 #19064
Conversation
5dbd36a
to
198de26
Compare
One thing I'm curious about: We use |
198de26
to
262a4c6
Compare
262a4c6
to
8c892ad
Compare
8c892ad
to
351db21
Compare
Basic hello world works for me. I want to test it more later with Marathon 1.3 using new containerizer and CNI. BTW is there a script that generates maven dependencies list uses as maven repo? |
Unfortunately, no. I manually went into In the time since I first packaged Mesos, @shlevy wrote https://github.com/NixOS/mvn2nix-maven-plugin, which we might want to take a stab at using instead. |
I don't know why but all tasks fail to start on this version for me. I get the following message on stderr of the task. I'm using the linux executor to simply run a command.
|
@kevincox is it possible that you need to set LIBPROCESS_IP somewhere? That seems to be a common fix for that type of error. |
@kevincox I run it with NixOps and VirtualBox (https://github.com/kamilchm/nix-mesos/blob/master/single-vm.nix) and simple commands works for me after applying this patch apache/mesos@d25cafa |
There are a lot of things to do here. |
Which dependencies? (unless you mean e.g.
I'll have to try that out; any idea what's going on there?
I tried to patch out all the relative paths to executables -- did I miss some?
👍 |
After testing few applications I found only one thing that could be critical for non-docker containers - |
I know that @edolstra prefers patching paths over wrapping executables, and I tend to agree. An alternative to wrapping the mesos executables would be providing one wrapper for I don't have strong feelings either way, though. How does that sound, vs wrapping mesos? |
Local |
You all are doing good work. I'm willing to assist in whatever way is needed. I use the native Mesos containerizer, so I can test that. |
One more problem, when I try to run https://github.com/apache/mesos/blob/master/src/examples/python/test_framework.py I get:
I'm trying to write test framework for most user cases and run it as nixos test. Here's current state of tests https://gist.github.com/kamilchm/a03a49639eca49f19c4b3e785945630b#file-mesos-nix |
@cstrahan do you have any idea how to fix the problem with python bindings?
I can't find a way to fix it :/ |
I prepared few test which works with 0.28 and fails on python bindings with 1.0.1 (#19825). |
I did just tried to deploy a Redis container on a 3-node Mesos + Marathon cluster, and I get this error:
Every node is running the latest CentOS 7 release and the latest Nix and Nixpkgs. Looks like somewhere we have a |
I found two more issues with this:
|
It's worth noting that the first issue is probably present in the current |
Good catch. Thanks for pointing those out, I'll try to update the PR On Tue, Oct 25, 2016, at 07:36 PM, Philip Wernersbach wrote:
Links: |
Error in python bindings is related to protocolbuffers/protobuf#1489 |
Per the comment on protocolbuffers/protobuf#1489, we might want to see if the mesos devs could use protobuf-lite instead. |
As I understand the protobuf issue it could affect many more packages and I don't think we can convince all 3rd party developers to move from protobuf to protobuf-lite. Anyway, I'm for merging Mesos 1.0.1 like it is here and file a new bug for python bindings. It'll be better than broken Mesos like we have it now. |
Yeah, please merge and fix incrementally! 😄 |
@cstrahan are you working on it? |
@copumpkin we need someone with merge permissions to move it forward. I can rewrite python test with new 1.0 HTTP API client https://github.com/douban/pymesos and drop native python bindings in mesos package later. |
any help needed here? |
Sorry gang, life has been rather crazy and I've had to stand back for a bit. Since everyone seems to be happy with what's here, I'll go ahead and merge. |
Motivation for this change
The mesos package was marked broken due to being an old, insecure version, so let's bump it up to the latest version.
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)/cc @kamilchm