You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Jessica J (Commented) (JIRA)" <ji...@apache.org> on 2012/03/16 16:59:40 UTC

[jira] [Commented] (MESOS-163) test_framework cannot run without MESOS_BUILD_DIR set unless libmesos.so is on library path

    [ https://issues.apache.org/jira/browse/MESOS-163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13231313#comment-13231313 ] 

Jessica J commented on MESOS-163:
---------------------------------

Is the test framework supposed to be able to be run in distributed mode? I have the test completing successfully for a single node, but I'd like to check that I have Mesos configured properly on my cluster. When I run this test in a distributed setting, all executors exit with code 11. Environment is Scientific Linux 6.2 cluster (stateless VNFS image administered via Perceus).

If this framework is not intended to test an actual cluster, a "Mesos hello world" for cluster testing would be nice...
                
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira