OK, I can confirm it is a bug due to the new docker stuff. Partially my bad not test it on mac.
I need to have rc2 with the bug fix. I'll submit a bug fix shortly. - Jie On Mon, Aug 18, 2014 at 1:53 PM, Vinod Kone <vinodk...@gmail.com> wrote: > make check succeed on Centos 5.5 but failed on Python framework on OSX > Mavericks. > > environment details: > > ➜ mesos-0.20.0 gcc --version > > Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr > --with-gxx-include-dir=/usr/include/c++/4.2.1 > > Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn) > > Target: x86_64-apple-darwin13.3.0 > > Thread model: posix > > ➜ mesos-0.20.0 g++ --version > > Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr > --with-gxx-include-dir=/usr/include/c++/4.2.1 > > Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn) > > Target: x86_64-apple-darwin13.3.0 > > Thread model: posix > > ➜ mesos-0.20.0 python --version > > Python 2.7.7 > > > > > [ RUN ] ExamplesTest.PythonFramework > > Using temporary directory '/tmp/ExamplesTest_PythonFramework_nX85Jw' > > Traceback (most recent call last): > > File "/tmp/mesos-0.20.0/src/examples/python/test_framework.py", line 25, > in <module> > > import mesos.native > > File "build/bdist.macosx-10.9-x86_64/egg/mesos/native/__init__.py", line > 17, in <module> > > File "build/bdist.macosx-10.9-x86_64/egg/mesos/native/_mesos.py", line > 7, in <module> > > File "build/bdist.macosx-10.9-x86_64/egg/mesos/native/_mesos.py", line > 6, in __bootstrap__ > > ImportError: > dlopen(/Users/vinod/.python-eggs/mesos.native-0.20.0-py2.7-macosx-10.9-x86_64.egg-tmp/mesos/native/_mesos.so, > 2): Symbol not found: > __ZN7cgroups9hierarchyERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE > > Referenced from: > /Users/vinod/.python-eggs/mesos.native-0.20.0-py2.7-macosx-10.9-x86_64.egg-tmp/mesos/native/_mesos.so > > Expected in: flat namespace > > in > /Users/vinod/.python-eggs/mesos.native-0.20.0-py2.7-macosx-10.9-x86_64.egg-tmp/mesos/native/_mesos.so > > tests/script.cpp:83: Failure > > Failed > > python_framework_test.sh exited with status 1 > > [ FAILED ] ExamplesTest.PythonFramework (674 ms) > > > > > > > > > On Sun, Aug 17, 2014 at 12:05 AM, Jie Yu <yujie....@gmail.com> wrote: > >> Hi all, >> >> Please vote on releasing the following candidate as Apache Mesos 0.20.0. >> >> >> 0.20.0 includes the following: >> >> -------------------------------------------------------------------------------- >> This release includes a lot of new cool features. The major new features >> are >> listed below: >> >> * Docker support in Mesos. >> * Users now can launch executors/tasks within Docker containers. >> * Mesos now supports running multiple containerizers simultaneously. >> The slave >> can dynamically choose a containerizer to launch containers based on >> the >> configuration of executors/tasks. >> >> * Container level network monitoring for mesos containerizer. >> * Network statistics for each active container can be retrieved through >> the >> /monitor/statistics.json endpoint on the slave. >> * Completely transparent to the tasks running on the slave. No need to >> change >> the service discovery mechanism for tasks. >> >> * Framework authorization. >> * Allows frameworks to (re-)register with authorized roles. >> * Allows frameworks to launch tasks/executors as authorized users. >> * Allows authorized principals to shutdown framework(s) through HTTP >> endpoint. >> >> * Framework rate limiting. >> * In a multi-framework environment, this feature aims to protect the >> throughput of high-SLA (e.g., production, service) frameworks by >> having the >> master throttle messages from other (e.g., development, batch) >> frameworks. >> >> * Enable building against installed third-party dependencies. >> >> This release also includes several bug fixes and stability improvements. >> >> -------------------------------------------------------------------------------- >> >> The candidate for Mesos 0.20.0 release is available at: >> >> https://dist.apache.org/repos/dist/dev/mesos/0.20.0-rc1/mesos-0.20.0.tar.gz >> >> The tag to be voted on is 0.20.0-rc1: >> https://git-wip-us.apache.org/repos/asf?p=mesos.git;a=commit;h=0.20.0-rc1 >> >> The MD5 checksum of the tarball can be found at: >> >> https://dist.apache.org/repos/dist/dev/mesos/0.20.0-rc1/mesos-0.20.0.tar.gz.md5 >> >> The signature of the tarball can be found at: >> >> https://dist.apache.org/repos/dist/dev/mesos/0.20.0-rc1/mesos-0.20.0.tar.gz.asc >> >> The PGP key used to sign the release is here: >> https://dist.apache.org/repos/dist/release/mesos/KEYS >> >> The JAR is up in Maven in a staging repository here: >> https://repository.apache.org/content/repositories/orgapachemesos-1028 >> >> Please vote on releasing this package as Apache Mesos 0.20.0! >> >> The vote is open until Wed Aug 20 00:03:55 PDT 2014 and passes if a >> majority of at least 3 +1 PMC votes are cast. >> >> [ ] +1 Release this package as Apache Mesos 0.20.0 >> [ ] -1 Do not release this package because ... >> >> Thanks, >> - Jie >> > >