[
https://issues.apache.org/jira/browse/MESOS-104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dominic Hamon closed MESOS-104.
-------------------------------
Resolution: Invalid
> 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
> Labels: torque
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)