mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Konwinski (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-39) JNI bindings shouldn't segfault when passed invalid parameters
Date Tue, 21 Feb 2012 05:07:34 GMT

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

Andy Konwinski commented on MESOS-39:
-------------------------------------

So, is the problem that you can't get the example and tests to run without making any changes
to the source (i.e. on a clean SVN checkout), or is it that you can't get them to build once
you've made changes to org_apache_mesos_MesosSchedulerDriver.cpp?

Have you followed the new instructions on the wiki for building and running the tests (i.e.
at https://github.com/mesos/mesos/wiki under "Running Example Frameworks and Testing the Build")

Hopefully you just haven't seen that wiki page since we updated it a couple of weeks ago (this
all changed recently with the big move to autotools build system) and this will solve your
problem (that page states the following in that section: "Currently, in order to run the example
frameworks (in src/examples), you must first build the test suite, as instructed below.").
                
> JNI bindings shouldn't segfault when passed invalid parameters
> --------------------------------------------------------------
>
>                 Key: MESOS-39
>                 URL: https://issues.apache.org/jira/browse/MESOS-39
>             Project: Mesos
>          Issue Type: Bug
>          Components: java-api
>            Reporter: Michael Armbrust
>            Assignee: Rohit Turumella
>
> Right now if you pass null values to the SchedulerDriver constructor it causes the JVM
to segfault.  It would be much nicer if you threw an IllegalArgumentException with a helpful
message.

--
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

        

Mime
View raw message