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

Rohit Turumella edited comment on MESOS-39 at 2/19/12 7:39 PM:
---------------------------------------------------------------

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?

Note: I haven't changed anything in the java files (only the 
org_apache_mesos_MesosSchedulerDriver.cpp file).

                
      was (Author: rturumella):
    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?

Note I haven't changed anything in the java files (only the 
org_apache_mesos_MesosSchedulerDriver.cpp file).

                  
> 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

        

Reply via email to