You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Charles Reiss (Created) (JIRA)" <ji...@apache.org> on 2011/12/15 21:21:31 UTC

[jira] [Created] (MESOS-104) Torque example framework needs updating for API changes

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

        

[jira] [Assigned] (MESOS-104) Torque example framework needs updating for API changes

Posted by "Charles Reiss (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MESOS-104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charles Reiss reassigned MESOS-104:
-----------------------------------

    Assignee: Harvey Feng 
    
> 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
>            Assignee: Harvey Feng 
>              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 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

        

[jira] [Assigned] (MESOS-104) Torque example framework needs updating for API changes

Posted by "Charles Reiss (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MESOS-104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charles Reiss reassigned MESOS-104:
-----------------------------------

    Assignee:     (was: Harvey Feng )
    
> 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 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