From wwj at ci.uchicago.edu Tue Dec 9 11:26:05 2008 From: wwj at ci.uchicago.edu (Wenjun Wu) Date: Tue, 09 Dec 2008 11:26:05 -0600 Subject: [Swift-user] credential renewal in swift In-Reply-To: References: Message-ID: <493EAA2D.5090809@ci.uchicago.edu> Hello, I have a question about the credential renewal in swift. When a proxy credential is used for running a workflow for a long time, does the swift engine renew the proxy if the proxy gets expired? And how to configure the user name and passphase for the renewal of the credential? Thanks! Wenjun From benc at hawaga.org.uk Tue Dec 9 11:30:15 2008 From: benc at hawaga.org.uk (Ben Clifford) Date: Tue, 9 Dec 2008 17:30:15 +0000 (GMT) Subject: [Swift-user] credential renewal in swift In-Reply-To: <493EAA2D.5090809@ci.uchicago.edu> References: <493EAA2D.5090809@ci.uchicago.edu> Message-ID: On Tue, 9 Dec 2008, Wenjun Wu wrote: > When a proxy credential is used for running a workflow for a long time, does > the swift engine renew the proxy if the proxy gets expired? no. Also, if you renew it externally, I don't know if the runtime will pick that up. I think not. -- From wwj at ci.uchicago.edu Tue Dec 9 12:15:09 2008 From: wwj at ci.uchicago.edu (Wenjun Wu) Date: Tue, 09 Dec 2008 12:15:09 -0600 Subject: [Swift-user] problem in running regexp mapper In-Reply-To: References: <493EAA2D.5090809@ci.uchicago.edu> Message-ID: <493EB5AD.8090403@ci.uchicago.edu> Hello, I'm running the tutorial example regexp.swift in vdsk-0.6. And it says, "Could not compile SwiftScript source: line 12:73: unexpected char: '1' ". Somehow the swift failed to parse the example. Here is the exception stack: 2008-12-09 12:10:15,988-0600 INFO Loader regexp.swift: source file is new. Recompiling. 2008-12-09 12:10:16,248-0600 ERROR VDLt2VDLx Could not compile SwiftScript source: line 12:73: unexpected char: '1' 2008-12-09 12:10:16,251-0600 DEBUG VDLt2VDLx Full parser exception line 12:73: unexpected char: '1' at org.globus.swift.parser.SwiftScriptLexer.nextToken(SwiftScriptLexer.java:283) at antlr.TokenBuffer.fill(TokenBuffer.java:69) at antlr.TokenBuffer.LA(TokenBuffer.java:80) at antlr.LLkParser.LA(LLkParser.java:52) at org.globus.swift.parser.SwiftScriptParser.unaryExpr(SwiftScriptParser.java:2869) at org.globus.swift.parser.SwiftScriptParser.multiExpr(SwiftScriptParser.java:2808) at org.globus.swift.parser.SwiftScriptParser.additiveExpr(SwiftScriptParser.java:2754) at org.globus.swift.parser.SwiftScriptParser.condExpr(SwiftScriptParser.java:2691) at org.globus.swift.parser.SwiftScriptParser.equalExpr(SwiftScriptParser.java:2608) at org.globus.swift.parser.SwiftScriptParser.andExpr(SwiftScriptParser.java:2575) at org.globus.swift.parser.SwiftScriptParser.orExpr(SwiftScriptParser.java:2545) at org.globus.swift.parser.SwiftScriptParser.expression(SwiftScriptParser.java:1191) at org.globus.swift.parser.SwiftScriptParser.mappingExpr(SwiftScriptParser.java:1386) at org.globus.swift.parser.SwiftScriptParser.mapparam(SwiftScriptParser.java:1371) at org.globus.swift.parser.SwiftScriptParser.mapparamdecl(SwiftScriptParser.java:1339) at org.globus.swift.parser.SwiftScriptParser.mappingdecl(SwiftScriptParser.java:1316) at org.globus.swift.parser.SwiftScriptParser.datasetdecl(SwiftScriptParser.java:1130) at org.globus.swift.parser.SwiftScriptParser.declpart(SwiftScriptParser.java:1050) at org.globus.swift.parser.SwiftScriptParser.declaration(SwiftScriptParser.java:666) at org.globus.swift.parser.SwiftScriptParser.topLevelStatement(SwiftScriptParser.java:233) at org.globus.swift.parser.SwiftScriptParser.program(SwiftScriptParser.java:109) at org.griphyn.vdl.toolkit.VDLt2VDLx.compile(VDLt2VDLx.java:63) at org.griphyn.vdl.toolkit.VDLt2VDLx.compile(VDLt2VDLx.java:46) at org.griphyn.vdl.karajan.Loader.compile(Loader.java:207) at org.griphyn.vdl.karajan.Loader.main(Loader.java:123) Thanks, Wenjun messagefile inputfile <"q16.txt">; countfile c ; From benc at hawaga.org.uk Tue Dec 9 13:04:05 2008 From: benc at hawaga.org.uk (Ben Clifford) Date: Tue, 9 Dec 2008 19:04:05 +0000 (GMT) Subject: [Swift-user] problem in running regexp mapper In-Reply-To: <493EB5AD.8090403@ci.uchicago.edu> References: <493EAA2D.5090809@ci.uchicago.edu> <493EB5AD.8090403@ci.uchicago.edu> Message-ID: On Tue, 9 Dec 2008, Wenjun Wu wrote: > transform="\1count" >; Hi. Try a double \ there, like this: transform="\\1count" The way escapes are handled in Swift changed since that example was written - I'll update it. --