[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] Condor-G - job submission problem - updated



The scratch directory configured in $GL/etc/gram-service-*/jndi- config.xml must exist and be writable by the user the job will run as. Condor then requests that a subdirectory be created, which is where all the job's files are placed.

Strangely, when I did some quick testing with Globus 4.0.1 just now, $ {GLOBUS_USER_HOME}/.globus/scratch didn't work, although the directory existed. But when I set it to 'tmp' under GLOBUS_LOCATION, it worked just fine.

The created directory will be cleaned up automatically.

 -- Jaime

On Aug 26, 2005, at 2:49 PM, duane waktu wrote:

Jaime,

FYI, does the scratch directory supposed to exists under the user who submitted the job or the 'globus' user?

I used '/home/myusername' instead of $(HOME) in the jndi-config.xml but it didn't work. Setting it to /home/globus didn't work either.

One more question, does the scratch directory get removed automatically? I was never able to locate this directory under either user.

DW


From: "duane waktu" <duawaktu@xxxxxxxxxxx>
Reply-To: Condor-Users Mail List <condor-users@xxxxxxxxxxx>
To: jfrey@xxxxxxxxxxx
CC: condor-users@xxxxxxxxxxx
Subject: Re: [Condor-users] Condor-G - job submission problem
Date: Fri, 26 Aug 2005 19:31:39 +0000

Jaime,

Adding $(HOME) did not fix the problem. See the log below from the GT container site:

=============================================================
2005-08-26 15:29:30,016 ERROR service.TransferWork [Thread-84,run: 709] Transient transfer error
Transient transfer error
Server refused performing the request. Custom message: (error code 1) [Nested exception message: Custom message: Unexpected reply: 500-Command failed. : globus_l_gfs_file_open failed.
500-globus_xio: Unable to open file /$(HOME)/.globus/scratch/ job_7922b050-1667-11da-959b-d0c35d67dc7b///.ignoreme
500-globus_xio: System error in open: No such file or directory
500-globus_xio: A system call failed: No such file or directory
500-
500 End.]
=============================================================




From: Jaime Frey <jfrey@xxxxxxxxxxx>
To: duane waktu <duawaktu@xxxxxxxxxxx>
CC: condor-users@xxxxxxxxxxx
Subject: Re: [Condor-users] Condor-G - job submission problem
Date: Fri, 26 Aug 2005 14:10:10 -0500

On Aug 26, 2005, at 11:41 AM, duane waktu wrote:


Thanks for your email.

I think I got further after changing the 'f' to capital. However, I got the following errors on both my container site and the log file. The error on the container site indicates that it cannot open the following file: /.globus/scratch/ job_6a6e61d0-164e-11da- ab87de08daa45fda///.ignoreme
I included the detail below (see 'GT container log' after 'GridmanagerLog').


My questions:
1. Where is this file supposed to be created anyway?
2. Is the '.globus' directory supposed to be created under the root (/) directory?
3. Who is supposed to create this file? 'globus' user or the user who submitted the job?


...

500-globus_xio: Unable to open file /.globus/scratch/ job_6a6e61d0-164e-11da-ab87-de08daa45fda///.ignoreme


Globus GRAM defines a scratch directory where jobs can optionally put their files. Condor uses this directory when it submits jobs to Globus. The default location is $(HOME)/.globus/scratch. It looks like the $(HOME) part is being lost. You can set the default in $GLOBUS_LOCATION/etc/gram-service-*/jndi-config.xml. The parameter is named 'scratchDirectory'.


Hmm, looking at the standard installation for Globus 4.0.1, the setting is commented out. I'll have to see if that triggers the behavior you're seeing.

+---------------------------------- +---------------------------------+
| Jaime Frey | Public Split on Whether |
| jfrey@xxxxxxxxxxx | Bush Is a Divider |
| http://www.cs.wisc.edu/~jfrey/ | -- CNN Scrolling Banner |
+---------------------------------- +---------------------------------+





_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/ direct/01/


_______________________________________________
Condor-users mailing list
Condor-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/condor-users


_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search! http:// search.msn.click-url.com/go/onm00200636ave/direct/01/



+----------------------------------+---------------------------------+ | Jaime Frey | Public Split on Whether | | jfrey@xxxxxxxxxxx | Bush Is a Divider | | http://www.cs.wisc.edu/~jfrey/ | -- CNN Scrolling Banner | +----------------------------------+---------------------------------+