Torque example framework needs updating for API changes
-------------------------------------------------------

                 Key: MESOS-104
                 URL: https://issues.apache.org/jira/browse/MESOS-104
             Project: Mesos
          Issue Type: Bug
          Components: framework
            Reporter: Charles Reiss


>From https://github.com/mesos/mesos/issues/171 :

Hi

I'm trying to running the torque framework, but when I execute the script 
torquesched.py it doesn't work.  I have looked the code and i think the problem 
is that torque scripts use the older API for framework.   I have tried with the 
following lines:

frameworkDir = os.path.dirname(args[0])
execPath = os.path.join(frameworkdir, "satart_pbs_mom.sh")
execInfo = mesos_pb2.ExecutorInfo()
execInfo.executor_id.value = "default"
execInfo.uri = execPath
mesos.MesosSchedulerDriver(sched, "Torque", execinfo, args[0]).run()


But I don't know how to change the resourceOffers funtion or if i have to 
change something more.  

Thanks


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