I followed [1] article on deploying the resource manager. and to test out
the resource manager I did submit the example job in the article. but I'm
getting an error saying

      WARNING: Error scheduling job: [2013-04-11T15:02:27.138+05:30]:
Message: Failed to find available node for job spec : Queue 'quick' does
not exist

I guess I'm configuring following properties incorrectly in
"/etc/resource.properties"

      # XML Node Repository config properties
      org.apache.oodt.cas.resource.nodes.dirs=file://[HOME]/policy/nodes

      # XML Queue Repository config properties

org.apache.oodt.cas.resource.nodetoqueues.dirs=file://[HOME]/policy/node-to-queue-mapping

my stdout is as follows

      rajith@ubuntu:/usr/local/resmgr/bin$ ./resmgr start
      Starting cas resource manager: OK
      Apr 11, 2013 3:02:01 PM
org.apache.oodt.cas.resource.system.XmlRpcResourceManager <init>
      INFO: Loading Resource Manager Configuration Properties from:
[../etc/resource.properties]
      Apr 11, 2013 3:02:01 PM
org.apache.oodt.cas.resource.system.XmlRpcResourceManager <init>
      INFO: Resource Manager started by rajith
      rajith@ubuntu:/usr/local/resmgr/bin$ ./batch_stub 2001
      [1] 27026
      rajith@ubuntu:/usr/local/resmgr/bin$ Apr 11, 2013 3:02:13 PM
org.apache.oodt.cas.resource.system.extern.XmlRpcBatchStub <init>
      INFO: XmlRpc Batch Stub started by rajith
      Apr 11, 2013 3:02:27 PM
org.apache.oodt.cas.resource.jobqueue.JobStack addJob
      INFO: Added Job: [2013-04-11T15:02:27.138+05:30] to queue
      Apr 11, 2013 3:02:41 PM
org.apache.oodt.cas.resource.scheduler.LRUScheduler run
      INFO: Obtained Job: [2013-04-11T15:02:27.138+05:30] from Queue:
Scheduling for execution
      Apr 11, 2013 3:02:41 PM
org.apache.oodt.cas.resource.scheduler.LRUScheduler run
      WARNING: Error scheduling job: [2013-04-11T15:02:27.138+05:30]:
Message: Failed to find available node for job spec : Queue 'quick' does
not exist


[1] http://oodt.apache.org/components/maven/resource/user/


Thank you,

T.W.R.O. Siriwardana
StMIEEE
Undergraduate
Department of Computer Science & Engineering
Faculty of Engineering
University of Moratuwa
Sri Lanka.

Reply via email to