Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [condor-users] Invoking condor commands from java applications
- Date: Thu, 22 Jan 2004 11:16:56 -0600 (CST)
- From: Jose Zamora <jzamora@xxxxxxxxxxxx>
- Subject: RE: [condor-users] Invoking condor commands from java applications
Hello I just happen to read this chain of email on the topic.
I am currently working in a similar project, but I am using jsp. I
modified a webpage intended for chimera to make it work for condor
comands. So far I can submit a job that is already available in the users
directory and I can then check the status by clicking a button that
displays the output of condor_q in your browser. I will later implement
more complex functions like checking individual logs of different jobs
running. BUT, right now what troubles me is that I can't run
condor_status.
I can click on the button on my web page and it hangs. I know that this
command is being sent to the "system" since the shell command "ps -ax"
will display condor_submit as a running process.
My question is: What are the requirements to run "condor_status"? I may
be missing something that I have overlooked but my general idea was that
if condor_q works fine then condor_status should work. My next move is to
run it as the same user that ran the job.
Jose Zamora
On Thu, 22 Jan 2004, Alain Roy wrote:
>
> >Thanks, I hadn't looked into the -format option yet, but I'll certainly use
> >it as you suggested. I did notice the -xml option for some commands; is that
> >an alternative with the same benefits? XML is a natural solution for Java.
>
> The -xml option is similar to the -l option: it prints all of the
> information in a ClassAd, but in ClassAdXML instead of the old format.
>
> The -format option is nice, because you get just the information you want,
> but it won't be in XML.
>
> If you find it convenient to use the XML, that's a fine option for the two
> commands that support it (condor_q and condor_status).
>
> Warning: although the XML format is fairly stable, I can't guarantee that
> it won't change the in the future.
>
> Condor 6.6.0 uses a subset of the ClassAdXML format described here:
>
> http://www.cs.wisc.edu/condor/classad/refman/node9.html
>
> It does not use nested ClassAds or lists, and you won't find the time
> attributes anywhere either.
>
> -alain
>
>
> Condor Support Information:
> http://www.cs.wisc.edu/condor/condor-support/
> To Unsubscribe, send mail to majordomo@xxxxxxxxxxx with
> unsubscribe condor-users <your_email_address>
>
Condor Support Information:
http://www.cs.wisc.edu/condor/condor-support/
To Unsubscribe, send mail to majordomo@xxxxxxxxxxx with
unsubscribe condor-users <your_email_address>