Return-Path: X-Original-To: apmail-oodt-dev-archive@www.apache.org Delivered-To: apmail-oodt-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ACCEE10AE2 for ; Thu, 11 Apr 2013 14:49:11 +0000 (UTC) Received: (qmail 47657 invoked by uid 500); 11 Apr 2013 14:49:11 -0000 Delivered-To: apmail-oodt-dev-archive@oodt.apache.org Received: (qmail 47572 invoked by uid 500); 11 Apr 2013 14:49:11 -0000 Mailing-List: contact user-help@oodt.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@oodt.apache.org Delivered-To: mailing list user@oodt.apache.org Received: (qmail 47563 invoked by uid 99); 11 Apr 2013 14:49:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Apr 2013 14:49:11 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of michael.iwunze@nasa.gov designates 198.117.1.121 as permitted sender) Received: from [198.117.1.121] (HELO ndjsnpf01.ndc.nasa.gov) (198.117.1.121) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Apr 2013 14:49:04 +0000 Received: from ndmsppt105.ndc.nasa.gov (NDMSPPT105.ndc.nasa.gov [198.117.0.70]) by ndjsnpf01.ndc.nasa.gov (Postfix) with ESMTP id 4C51632806E for ; Thu, 11 Apr 2013 09:48:44 -0500 (CDT) Received: from ndmshub06.ndc.nasa.gov (ndmshub06.ndc.nasa.gov [198.117.2.165]) by ndmsppt105.ndc.nasa.gov (8.14.5/8.14.5) with ESMTP id r3BEmfwa003734 for ; Thu, 11 Apr 2013 09:48:41 -0500 Received: from NDMSSCC06.ndc.nasa.gov ([198.117.2.176]) by ndmshub06.ndc.nasa.gov ([198.117.2.165]) with mapi; Thu, 11 Apr 2013 09:48:41 -0500 From: "Iwunze, Michael C (GSFC-4700)[NOAA-JPSS]" To: "user@oodt.apache.org" Date: Thu, 11 Apr 2013 09:48:38 -0500 Subject: Re: Getting an error while scheduling the example job for execution [Resource Manager component test] Thread-Topic: Getting an error while scheduling the example job for execution [Resource Manager component test] Thread-Index: Ac42w6gRKTb4e6OcQU+sm/oLbnXETA== Message-ID: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.3.2.130206 acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_CD8C457A2AFAMichaelIwunzenasagov_" MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8626,1.0.431,0.0.0000 definitions=2013-04-11_06:2013-04-11,2013-04-11,1970-01-01 signatures=0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_CD8C457A2AFAMichaelIwunzenasagov_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Awesome! From: Rajith Siriwardana > Reply-To: "user@oodt.apache.org" > Date: Thursday, April 11, 2013 10:46 AM To: user > Subject: Re: Getting an error while scheduling the example job for executio= n [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 > 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=92s 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_stu= b in the bin folder. yes, batch manager is running using the batch_stub in the bin folder. Hope this helps. From: Rajith Siriwardana > Reply-To: "user@oodt.apache.org" > Date: Thursday, April 11, 2013 5:53 AM To: "user@oodt.apache.org" > Subject: Getting an error while scheduling the example job for execution [R= esource Manager component test] I followed [1] article on deploying the resource manager. and to test out t= he resource manager I did submit the example job in the article. but I'm ge= tting an error saying WARNING: Error scheduling job: [2013-04-11T15:02:27.138+05:30]: Messa= ge: Failed to find available node for job spec : Queue 'quick' does not exi= st I guess I'm configuring following properties incorrectly in "/etc/resource.= properties" # XML Node Repository config properties org.apache.oodt.cas.resource.nodes.dirs=3Dfile://[HOME]/policy/nodes # XML Queue Repository config properties org.apache.oodt.cas.resource.nodetoqueues.dirs=3Dfile://[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.XmlRpcRes= ourceManager INFO: Loading Resource Manager Configuration Properties from: [../etc= /resource.properties] Apr 11, 2013 3:02:01 PM org.apache.oodt.cas.resource.system.XmlRpcRes= ourceManager 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.apac= he.oodt.cas.resource.system.extern.XmlRpcBatchStub INFO: XmlRpc Batch Stub started by rajith Apr 11, 2013 3:02:27 PM org.apache.oodt.cas.resource.jobqueue.JobStac= k 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.LRUSch= eduler run INFO: Obtained Job: [2013-04-11T15:02:27.138+05:30] from Queue: Sched= uling for execution Apr 11, 2013 3:02:41 PM org.apache.oodt.cas.resource.scheduler.LRUSch= eduler run WARNING: Error scheduling job: [2013-04-11T15:02:27.138+05:30]: Messa= ge: Failed to find available node for job spec : Queue 'quick' does not exi= st [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. --_000_CD8C457A2AFAMichaelIwunzenasagov_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable
Awesome!

From: Rajith Siriwardana <rajithsiriwardana@ieee.org&= gt;
Reply-To: "user@oodt.apache.org" <user@oodt.apache.org>
Date: Thursday, April 11, 2013 10:46 AM
To: user <user@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. Siriwarda= na
StMIEEE
Undergraduate 
Department of Computer= Science & Engineering
Faculty of Engineering
Univers= ity of Moratuwa
Sri Lanka.
<= /div>


On Thu, Apr 11, 2013 at 8:03 = PM, Rajith Siriwardana <rajiths= iriwardana@ieee.org> wrote:
thanks Michael. 

<= div class=3D"gmail_quote">
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 poi= nt to the policy folders.   file://[HOME]/policy, That=92s= all you need for both.

I= already tried it. it didn't work.   
 
In addition, make s= ure you have a batch manager running using the batch_stub in the bin folder= .

yes, batch manager is r= unning 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
T= o: "u= ser@oodt.apache.org" <user@oodt.apache.org>
Subject: Getting an error while scheduling the example job fo= r execution [Resource Manager component test]

<= /div>
I followed [1] article on deploying th= e resource manager. and to test out the resource manager I did submit the e= xample job in the article. but I'm getting an error saying
 =
      WARNING: Error scheduling job: [2013-04-11T= 15:02:27.138+05:30]: Message: Failed to find available node for job spe= c : Queue 'quick' does not exist

I guess I'm c= onfiguring following properties incorrectly in "/etc/resource.properti= es"

      # XML Node Repo= sitory config properties
      org.apache.oodt.cas= .resource.nodes.dirs=3Dfile://[HOME]/policy/nodes

      # XML Queue Repository config properties
<= div>      org.apache.oodt.cas.resource.nodetoqueues.dirs=3D<= a>file://[HOME]/policy/node-to-queue-mapping

m= y stdout is as follows 

    &n= bsp; rajith@ubuntu:/usr/local/resmgr/bin$ ./resmgr start
  &= nbsp;   Starting cas resource manager: OK
    &nbs= p; Apr 11, 2013 3:02:01 PM org.apache.oodt.cas.resource.system.XmlRpcResour= ceManager <init>
      INFO: Loading Resourc= e Manager Configuration Properties from: [../etc/resource.properties]
=
      Apr 11, 2013 3:02:01 PM org.apache.oodt.cas.resou= rce.system.XmlRpcResourceManager <init>
     = ; INFO: Resource Manager started by rajith
      r= ajith@ubuntu:/usr/local/resmgr/bin$ ./batch_stub 2001
  &nbs= p;   [1] 27026
      rajith@ubuntu:/usr/local= /resmgr/bin$ Apr 11, 2013 3:02:13 PM org.apache.oodt.cas.resource.system.ex= tern.XmlRpcBatchStub <init>
      INFO: XmlR= pc 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: Schedu= ling for execution
      Apr 11, 2013 3:02:41 PM o= rg.apache.oodt.cas.resource.scheduler.LRUScheduler run
  &nb= sp;   WARNING: Error scheduling job: [2013-04-11T15:02:27.138+05:3= 0]: Message: Failed to find available node for job spec : Queue 'quick' doe= s not exist
   

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


Thank you,

T= .W.R.O. Siriwardana
= StMIEEE
Undergraduat= e 
Depar= tment of Computer Science & Engineering
Faculty of Engineering=
University of Moratuwa
Sri Lanka.



--_000_CD8C457A2AFAMichaelIwunzenasagov_--