You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@oodt.apache.org by Rajith Siriwardana <ra...@ieee.org> on 2013/04/11 11:53:13 UTC

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.

Re: Getting an error while scheduling the example job for execution [Resource Manager component test]

Posted by Rajith Siriwardana <ra...@gmail.com>.
Thanks for the help Michael.


cheers.
Rajith

On Thu, Apr 11, 2013 at 8:18 PM, Iwunze, Michael C (GSFC-4700)[NOAA-JPSS] <
michael.iwunze@nasa.gov> wrote:

> Awesome!
>
> From: Rajith Siriwardana <ra...@ieee.org>
> Reply-To: "user@oodt.apache.org" <us...@oodt.apache.org>
> Date: Thursday, April 11, 2013 10:46 AM
> To: user <us...@oodt.apache.org>
> Subject: Re: Getting an error while scheduling the example job for
> execution [Resource Manager component test]
>
> 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]
>> <mi...@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 <ra...@ieee.org>
>>> Reply-To: "user@oodt.apache.org" <us...@oodt.apache.org>
>>> Date: Thursday, April 11, 2013 5:53 AM
>>> To: "user@oodt.apache.org" <us...@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.
>>>
>>>
>>
>

Re: Getting an error while scheduling the example job for execution [Resource Manager component test]

Posted by Rajith Siriwardana <ra...@gmail.com>.
Thanks for the help Michael.


cheers.
Rajith

On Thu, Apr 11, 2013 at 8:18 PM, Iwunze, Michael C (GSFC-4700)[NOAA-JPSS] <
michael.iwunze@nasa.gov> wrote:

> Awesome!
>
> From: Rajith Siriwardana <ra...@ieee.org>
> Reply-To: "user@oodt.apache.org" <us...@oodt.apache.org>
> Date: Thursday, April 11, 2013 10:46 AM
> To: user <us...@oodt.apache.org>
> Subject: Re: Getting an error while scheduling the example job for
> execution [Resource Manager component test]
>
> 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]
>> <mi...@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 <ra...@ieee.org>
>>> Reply-To: "user@oodt.apache.org" <us...@oodt.apache.org>
>>> Date: Thursday, April 11, 2013 5:53 AM
>>> To: "user@oodt.apache.org" <us...@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.
>>>
>>>
>>
>

Re: Getting an error while scheduling the example job for execution [Resource Manager component test]

Posted by "Iwunze, Michael C (GSFC-4700)[NOAA-JPSS]" <mi...@nasa.gov>.
Awesome!

From: Rajith Siriwardana <ra...@ieee.org>>
Reply-To: "user@oodt.apache.org<ma...@oodt.apache.org>" <us...@oodt.apache.org>>
Date: Thursday, April 11, 2013 10:46 AM
To: user <us...@oodt.apache.org>>
Subject: Re: Getting an error while scheduling the example job for execution [Resource Manager component test]

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 <ra...@ieee.org>> wrote:
thanks Michael.

On Thu, Apr 11, 2013 at 7:34 PM, Iwunze, Michael C (GSFC-4700)[NOAA-JPSS] <mi...@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 <ra...@ieee.org>>
Reply-To: "user@oodt.apache.org<ma...@oodt.apache.org>" <us...@oodt.apache.org>>
Date: Thursday, April 11, 2013 5:53 AM
To: "user@oodt.apache.org<ma...@oodt.apache.org>" <us...@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.




Re: Getting an error while scheduling the example job for execution [Resource Manager component test]

Posted by "Iwunze, Michael C (GSFC-4700)[NOAA-JPSS]" <mi...@nasa.gov>.
Awesome!

From: Rajith Siriwardana <ra...@ieee.org>>
Reply-To: "user@oodt.apache.org<ma...@oodt.apache.org>" <us...@oodt.apache.org>>
Date: Thursday, April 11, 2013 10:46 AM
To: user <us...@oodt.apache.org>>
Subject: Re: Getting an error while scheduling the example job for execution [Resource Manager component test]

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 <ra...@ieee.org>> wrote:
thanks Michael.

On Thu, Apr 11, 2013 at 7:34 PM, Iwunze, Michael C (GSFC-4700)[NOAA-JPSS] <mi...@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 <ra...@ieee.org>>
Reply-To: "user@oodt.apache.org<ma...@oodt.apache.org>" <us...@oodt.apache.org>>
Date: Thursday, April 11, 2013 5:53 AM
To: "user@oodt.apache.org<ma...@oodt.apache.org>" <us...@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.




Re: Getting an error while scheduling the example job for execution [Resource Manager component test]

Posted by Rajith Siriwardana <ra...@ieee.org>.
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]
> <mi...@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 <ra...@ieee.org>
>> Reply-To: "user@oodt.apache.org" <us...@oodt.apache.org>
>> Date: Thursday, April 11, 2013 5:53 AM
>> To: "user@oodt.apache.org" <us...@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.
>>
>>
>

Re: Getting an error while scheduling the example job for execution [Resource Manager component test]

Posted by Rajith Siriwardana <ra...@ieee.org>.
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]
> <mi...@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 <ra...@ieee.org>
>> Reply-To: "user@oodt.apache.org" <us...@oodt.apache.org>
>> Date: Thursday, April 11, 2013 5:53 AM
>> To: "user@oodt.apache.org" <us...@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.
>>
>>
>

Re: Getting an error while scheduling the example job for execution [Resource Manager component test]

Posted by "Iwunze, Michael C (GSFC-4700)[NOAA-JPSS]" <mi...@nasa.gov>.
Seems like that should do the trick. After I make a config change like that I restart the batch manager and resource manager. Also make sure your environment variables are set correctly.

Good luck

From: Rajith Siriwardana <ra...@ieee.org>>
Reply-To: "user@oodt.apache.org<ma...@oodt.apache.org>" <us...@oodt.apache.org>>
Date: Thursday, April 11, 2013 10:33 AM
To: user <us...@oodt.apache.org>>
Subject: Re: Getting an error while scheduling the example job for execution [Resource Manager component test]

thanks Michael.

On Thu, Apr 11, 2013 at 7:34 PM, Iwunze, Michael C (GSFC-4700)[NOAA-JPSS] <mi...@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 <ra...@ieee.org>>
Reply-To: "user@oodt.apache.org<ma...@oodt.apache.org>" <us...@oodt.apache.org>>
Date: Thursday, April 11, 2013 5:53 AM
To: "user@oodt.apache.org<ma...@oodt.apache.org>" <us...@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.



Re: Getting an error while scheduling the example job for execution [Resource Manager component test]

Posted by "Iwunze, Michael C (GSFC-4700)[NOAA-JPSS]" <mi...@nasa.gov>.
Seems like that should do the trick. After I make a config change like that I restart the batch manager and resource manager. Also make sure your environment variables are set correctly.

Good luck

From: Rajith Siriwardana <ra...@ieee.org>>
Reply-To: "user@oodt.apache.org<ma...@oodt.apache.org>" <us...@oodt.apache.org>>
Date: Thursday, April 11, 2013 10:33 AM
To: user <us...@oodt.apache.org>>
Subject: Re: Getting an error while scheduling the example job for execution [Resource Manager component test]

thanks Michael.

On Thu, Apr 11, 2013 at 7:34 PM, Iwunze, Michael C (GSFC-4700)[NOAA-JPSS] <mi...@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 <ra...@ieee.org>>
Reply-To: "user@oodt.apache.org<ma...@oodt.apache.org>" <us...@oodt.apache.org>>
Date: Thursday, April 11, 2013 5:53 AM
To: "user@oodt.apache.org<ma...@oodt.apache.org>" <us...@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.



Re: Getting an error while scheduling the example job for execution [Resource Manager component test]

Posted by Rajith Siriwardana <ra...@ieee.org>.
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 <ra...@ieee.org>
> Reply-To: "user@oodt.apache.org" <us...@oodt.apache.org>
> Date: Thursday, April 11, 2013 5:53 AM
> To: "user@oodt.apache.org" <us...@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.
>
>

Re: Getting an error while scheduling the example job for execution [Resource Manager component test]

Posted by Rajith Siriwardana <ra...@ieee.org>.
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 <ra...@ieee.org>
> Reply-To: "user@oodt.apache.org" <us...@oodt.apache.org>
> Date: Thursday, April 11, 2013 5:53 AM
> To: "user@oodt.apache.org" <us...@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.
>
>

Re: Getting an error while scheduling the example job for execution [Resource Manager component test]

Posted by "Iwunze, Michael C (GSFC-4700)[NOAA-JPSS]" <mi...@nasa.gov>.
Just have the nodes.dirs and nodetoqueue.dirs point to the policy folders.   file://[HOME]/policy<file://[HOME]/policy/nodes>, That’s all you need for both.
In addition, make sure you have a batch manager running using the batch_stub in the bin folder.

Hope this helps.



From: Rajith Siriwardana <ra...@ieee.org>>
Reply-To: "user@oodt.apache.org<ma...@oodt.apache.org>" <us...@oodt.apache.org>>
Date: Thursday, April 11, 2013 5:53 AM
To: "user@oodt.apache.org<ma...@oodt.apache.org>" <us...@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.


Re: Getting an error while scheduling the example job for execution [Resource Manager component test]

Posted by "Iwunze, Michael C (GSFC-4700)[NOAA-JPSS]" <mi...@nasa.gov>.
Just have the nodes.dirs and nodetoqueue.dirs point to the policy folders.   file://[HOME]/policy<file://[HOME]/policy/nodes>, That’s all you need for both.
In addition, make sure you have a batch manager running using the batch_stub in the bin folder.

Hope this helps.



From: Rajith Siriwardana <ra...@ieee.org>>
Reply-To: "user@oodt.apache.org<ma...@oodt.apache.org>" <us...@oodt.apache.org>>
Date: Thursday, April 11, 2013 5:53 AM
To: "user@oodt.apache.org<ma...@oodt.apache.org>" <us...@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.