You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by mp...@apache.org on 2015/10/19 21:15:18 UTC

mesos git commit: Fixed `ExamplesTest.PersistentVolumeFramework` on OS X El Capitan.

Repository: mesos
Updated Branches:
  refs/heads/master 59aaf2304 -> bb8409882


Fixed `ExamplesTest.PersistentVolumeFramework` on OS X El Capitan.

The `MESOS_LAUNCHER_DIR` was being set to `<build_dir>/src/.libs`
rather than `<build_dir>/src`. This leads to us attemping to execute
`<build_dir>/src/.libs/mesos-executor` which doesn't have the correct
`DYLD_LIBRARY_PATH` set.

Review: https://reviews.apache.org/r/39423


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/bb840988
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/bb840988
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/bb840988

Branch: refs/heads/master
Commit: bb8409882c1e1b5c7eea2a4528f5d3d33dc639b1
Parents: 59aaf23
Author: Michael Park <mc...@gmail.com>
Authored: Mon Oct 19 12:10:45 2015 -0700
Committer: Michael Park <mp...@apache.org>
Committed: Mon Oct 19 12:11:10 2015 -0700

----------------------------------------------------------------------
 src/examples/persistent_volume_framework.cpp | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/bb840988/src/examples/persistent_volume_framework.cpp
----------------------------------------------------------------------
diff --git a/src/examples/persistent_volume_framework.cpp b/src/examples/persistent_volume_framework.cpp
index 426d338..176ac3d 100644
--- a/src/examples/persistent_volume_framework.cpp
+++ b/src/examples/persistent_volume_framework.cpp
@@ -463,10 +463,6 @@ int main(int argc, char** argv)
 
     // Configure slave.
     os::setenv("MESOS_DEFAULT_ROLE", flags.role);
-
-    const string launcherDir = Path(os::realpath(argv[0]).get()).dirname();
-    os::setenv("MESOS_LAUNCHER_DIR", launcherDir);
-    os::libraries::appendPaths(launcherDir);
   }
 
   PersistentVolumeScheduler scheduler(