[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] Querying Condor_Collector through webservice.. to get Schedd and Negotiator IPs
- Date: Mon, 06 Oct 2008 08:04:01 -0500
- From: Matthew Farrellee <matt@xxxxxxxxxx>
- Subject: Re: [Condor-users] Querying Condor_Collector through webservice.. to get Schedd and Negotiator IPs
Johnson koil Raj wrote:
I need to Know how many Schedd and Submitter are in the pool and I
required their corresponding IPs and Ports.
while Querying Condor_Collector through web service For the Particular
constraint is not giving any Output.In Collector Log It is saying 0
response to the Query.
port.queryAnyAds("MyType == \"Submitter\"")
port.queryAnyAds("MyType == \"Negotiator\"")
port.queryAnyAds("TargetType == \"Job\"");
port.queryScheddAds("MyType == \"Scheduler\"")
but the following query code is Working fine it is correctly fetching
data from Collector (boolean related values working fine with collector)
port.queryScheddAds("HasSOAPInterface == TRUE")
port.queryAnyAds("Start == TRUE");
I have verified with command line.
schedd.getJobAds(null,"MyType == \"Job\"")
this query code is working fine and I am able to get all the outputs
Why the collector is not giving any data for that constraints.Please
help me out in this
It's an unfortunate situation. The MyType and TargetType attributes on
an ad are treated specially and are often invisible to constraints.
You can verify the issue by using condor_status -constraint 'MyType ==
You can use the daemon specific query methods to get around the issue,
e.g. queryScheddAds and condor_status -schedd -constraint