[
https://issues.apache.org/jira/browse/MESOS-163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vinod Kone resolved MESOS-163.
------------------------------
Resolution: Won't Fix
The test frameworks are only supposed to be run from within the build
directory. For running a test framework externally, one needs to package it up
into a self contained binary. See load_generator_framework for an example.
> test_framework cannot run without MESOS_BUILD_DIR set unless libmesos.so is
> on library path
> -------------------------------------------------------------------------------------------
>
> Key: MESOS-163
> URL: https://issues.apache.org/jira/browse/MESOS-163
> Project: Mesos
> Issue Type: Bug
> Environment: Linux
> Reporter: Charles Reiss
> Priority: Trivial
> Labels: examples
>
> test_framework locates test_executor by using argv[0]. On Linux, this results
> in it passing an executor URI that is in .libs. Trying to execute this binary
> directory can fail because libmesos.so.0 is not found, so the task is lost on
> all the slaves.
> In the tests we avoid this problem by setting MESOS_BUILD_DIR and using it to
> locate the executor, but no scripts in bin/ will help the user in setting it
> and it is not documented.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)