oodt-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajith Siriwardana <rajithsiriward...@ieee.org>
Subject Re: Getting an error while scheduling the example job for execution [Resource Manager component test]
Date Thu, 11 Apr 2013 14:46:15 GMT
It works when I give the absolute path.  file:///usr/local/resmgr/policy.

thanks

Thank you,

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


On Thu, Apr 11, 2013 at 8:03 PM, Rajith Siriwardana <
rajithsiriwardana@ieee.org> wrote:

> thanks Michael.
>
> On Thu, Apr 11, 2013 at 7:34 PM, Iwunze, Michael C (GSFC-4700)[NOAA-JPSS]
> <michael.iwunze@nasa.gov> wrote:
>
>> Just have the nodes.dirs and nodetoqueue.dirs point to the policy
>> folders.   file://[HOME]/policy, That’s all you need for both.
>>
>
> I already tried it. it didn't work.
>
>
>>  In addition, make sure you have a batch manager running using the
>> batch_stub in the bin folder.
>>
>
> yes, batch manager is running using the batch_stub in the bin folder.
>
>
>> Hope this helps.
>>
>>
>>
>> From: Rajith Siriwardana <rajithsiriwardana@ieee.org>
>> Reply-To: "user@oodt.apache.org" <user@oodt.apache.org>
>> Date: Thursday, April 11, 2013 5:53 AM
>> To: "user@oodt.apache.org" <user@oodt.apache.org>
>> Subject: Getting an error while scheduling the example job for execution
>> [Resource Manager component test]
>>
>> 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.
>>
>>
>

Mime
View raw message