[
https://issues.apache.org/jira/browse/MESOS-39?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13211505#comment-13211505
]
Rohit Turumella commented on MESOS-39:
--------------------------------------
I'm trying to run a few tests to make sure that an IllegalArgException is
thrown however when i try to run the tests, i get errors relating to the fact
that the java files are not compiled. I know I can just compile all the files
but I do know that the class files shouldn't be committed. Is there an already
existing MakeFile/script that already does the compilation for the java files.
It looks like there are a number of dependencies between the java and cpp files
that prevent me from even being able to do the compilation from the javac
*.java route.
This is one of the errors that I am getting:
MesosSchedulerDriver.java:118: cannot find symbol
symbol : variable Filters
location: class org.apache.mesos.MesosSchedulerDriver
return launchTasks(offerId, tasks, Filters.newBuilder().build());
Has anyone run into this issue before?
> 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