[Swift-devel] trunk coaster service does not honor SWIFT_USERHOME ?

Mihael Hategan hategan at mcs.anl.gov
Tue Oct 21 14:37:00 CDT 2014


Hi,

In a chat with Mike we are addressing the issue. I will summarize here
for future reference.

- bin/coaster-service never honored SWIFT_USERHOME.
- bin/swift checks if that variable is set and starts java with
-Duser.home=$SWIFT_USERHOME

The solution was to edit coaster-service to start java with -Duser.home=
$SWIFT_USERHOME.

Mihael


On Tue, 2014-10-21 at 14:08 -0500, Michael Wilde wrote:
> Im seeing the error below on the Titan Cray system (trying to write a 
> log to my home dir instead of the SWIFT_USERHOME dir).  Did the name of 
> that var or the means of specifying it change in trunk?
> 
> Thanks,
> 
> - Mike
> 
> T$ aprun /bin/sh -c "pwd; SWIFT_USERHOME=$PWD coaster-service -p 50001 
> -localport 50002 -nosec -passive"
> /lustre/atlas/proj-shared/mat049/wildemj/swift/lab/swiftaprun
> Switching log to: cps-2014-10-21_14-56-51.log
> 2014-10-21 14:56:51,454-0400 WARN  CoasterPersistentService Switching 
> log to: cps-2014-10-21_14-56-51.log
> CoasterService fatal error:
> Exception caught in block processor
> java.io.IOException: Failed to create script dir 
> (/ccs/home/wildemj/.globus/coasters)
>      at 
> org.globus.cog.abstraction.coaster.service.job.manager.ScriptManager.writeScript(ScriptManager.java:46)
>      at 
> org.globus.cog.abstraction.coaster.service.job.manager.BlockQueueProcessor.run(BlockQueueProcessor.java:161)
> Started coaster service: http://10.128.14.193:50001
> Worker connection URL: http://10.128.14.193:50002
> Exception caught in block processor
> java.io.IOException: Failed to create script dir 
> (/ccs/home/wildemj/.globus/coasters)
>      at 
> org.globus.cog.abstraction.coaster.service.job.manager.ScriptManager.writeScript(ScriptManager.java:46)
>      at 
> org.globus.cog.abstraction.coaster.service.job.manager.BlockQueueProcessor.run(BlockQueueProcessor.java:161)
> Shutting down service...
> Application 7960371 exit codes: 13
> Application 7960371 resources: utime ~1s, stime ~1s, Rss ~27892, 
> inblocks ~27355, outblocks ~1143
> 
> 





More information about the Swift-devel mailing list