[Swift-devel] Fwd: NumberFormatException

Jonathan Monette jonmon at utexas.edu
Mon Jul 11 22:45:46 CDT 2011


I actually meant to send this to swift-devel.

Here is the background to the problem.  I have data on PADS, I am executing Swift on a VM, and I want to use OSG to compute with the data.  Before Mike left for vacation he said that you can map data in Swift using the GSIURI scheme but he did not tell me how.  What I did below is 

file data<"gsiftp://stor01.pads.ci.uchicago.edu:/gpfs/pads/projects/CI-CCR000013/jonmon/Swift/tests/cat_test/data.txt">;

This does not seem to work in release 0.92.1 as the error below shows.  How do you map data in Swift using the GSIURI scheme?

Begin forwarded message:

> From: Jonathan Monette <jonmon at utexas.edu>
> Date: July 11, 2011 2:30:34 PM CDT
> To: swift-devel Devel <swift-devel at ci.uchicago.edu>
> Cc: Mihael Hategan Hategan <hategan at mcs.anl.gov>
> Subject: NumberFormatException
> 
> Mihael,
>   I am getting this error using release 0.92.1.
> 
> 2011-07-11 19:24:44,395+0000 INFO  unknown RUNID id=run:20110711-1924-c944yl9c
> 2011-07-11 19:24:44,508+0000 DEBUG VDL2ExecutionContext vdl:new @ script.kml, line: 69: java.lang.RuntimeException: java.lang.NumberFormatException: For input string: ""
> java.lang.RuntimeException: java.lang.NumberFormatException: For input string: ""
> Caused by: java.lang.RuntimeException: java.lang.NumberFormatException: For input string: ""
> 	at org.griphyn.vdl.mapping.AbsFile.exists(AbsFile.java:109)
> 	at org.griphyn.vdl.mapping.file.SingleFileMapper.existing(SingleFileMapper.java:24)
> 	at org.griphyn.vdl.mapping.RootDataNode.checkInputs(RootDataNode.java:97)
> 	at org.griphyn.vdl.mapping.RootDataNode.checkInputs(RootDataNode.java:75)
> 	at org.griphyn.vdl.mapping.RootDataNode.innerInit(RootDataNode.java:61)
> 	at org.griphyn.vdl.mapping.RootDataNode.init(RootDataNode.java:37)
> 	at org.griphyn.vdl.karajan.lib.New.function(New.java:126)
> 	at org.griphyn.vdl.karajan.lib.VDLFunction.post(VDLFunction.java:68)
> 	at org.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments.childCompleted(AbstractSequentialWithArguments.java:192)
> 	at org.globus.cog.karajan.workflow.nodes.Sequential.notificationEvent(Sequential.java:32)
> 	at org.globus.cog.karajan.workflow.nodes.FlowNode.event(FlowNode.java:340)
> 	at org.globus.cog.karajan.workflow.events.EventBus.send(EventBus.java:173)
> 	at org.globus.cog.karajan.workflow.nodes.FlowNode.fireNotificationEvent(FlowNode.java:181)
> 	at org.globus.cog.karajan.workflow.nodes.FlowNode.complete(FlowNode.java:309)
> 	at org.globus.cog.karajan.workflow.nodes.FlowContainer.post(FlowContainer.java:58)
> 	at org.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments.childCompleted(AbstractSequentialWithArguments.java:192)
> 	at org.globus.cog.karajan.workflow.nodes.user.UserDefinedElement.childCompleted(UserDefinedElement.java:290)
> 	at org.globus.cog.karajan.workflow.nodes.user.SequentialImplicitExecutionUDE.childCompleted(SequentialImplicitExecutionUDE.java:85)
> 	at org.globus.cog.karajan.workflow.nodes.Sequential.notificationEvent(Sequential.java:32)
> 	at org.globus.cog.karajan.workflow.nodes.FlowNode.event(FlowNode.java:340)
> 	at org.globus.cog.karajan.workflow.events.EventBus.send(EventBus.java:173)
> 	at org.globus.cog.karajan.workflow.nodes.FlowNode.fireNotificationEvent(FlowNode.java:181)
> 	at org.globus.cog.karajan.workflow.nodes.FlowNode.complete(FlowNode.java:309)
> 	at org.globus.cog.karajan.workflow.nodes.FlowContainer.post(FlowContainer.java:58)
> 	at org.globus.cog.karajan.workflow.nodes.functions.Argument.post(Argument.java:45)
> 	at org.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments.childCompleted(AbstractSequentialWithArguments.java:192)
> 	at org.globus.cog.karajan.workflow.nodes.Sequential.notificationEvent(Sequential.java:32)
> 	at org.globus.cog.karajan.workflow.nodes.FlowNode.event(FlowNode.java:340)
> 	at org.globus.cog.karajan.workflow.events.EventBus.send(EventBus.java:173)
> 	at org.globus.cog.karajan.workflow.nodes.FlowNode.fireNotificationEvent(FlowNode.java:181)
> 	at org.globus.cog.karajan.workflow.nodes.FlowNode.complete(FlowNode.java:309)
> 	at org.globus.cog.karajan.workflow.nodes.FlowContainer.post(FlowContainer.java:58)
> 	at org.globus.cog.karajan.workflow.nodes.functions.Map_Map.post(Map_Map.java:55)
> 	at org.globus.cog.karajan.workflow.nodes.Sequential.startNext(Sequential.java:50)
> 	at org.globus.cog.karajan.workflow.nodes.Sequential.childCompleted(Sequential.java:44)
> 	at org.globus.cog.karajan.workflow.nodes.Sequential.notificationEvent(Sequential.java:32)
> 	at org.globus.cog.karajan.workflow.nodes.FlowNode.event(FlowNode.java:340)
> 	at org.globus.cog.karajan.workflow.events.EventBus.send(EventBus.java:173)
> 	at org.globus.cog.karajan.workflow.nodes.FlowNode.fireNotificationEvent(FlowNode.java:181)
> 	at org.globus.cog.karajan.workflow.nodes.FlowNode.complete(FlowNode.java:309)
> 	at org.globus.cog.karajan.workflow.nodes.FlowContainer.post(FlowContainer.java:58)
> 	at org.globus.cog.karajan.workflow.nodes.Each.post(Each.java:31)
> 	at org.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments.childCompleted(AbstractSequentialWithArguments.java:192)
> 	at org.globus.cog.karajan.workflow.nodes.Sequential.notificationEvent(Sequential.java:32)
> 	at org.globus.cog.karajan.workflow.nodes.FlowNode.event(FlowNode.java:340)
> 	at org.globus.cog.karajan.workflow.events.EventBus.send(EventBus.java:173)
> 	at org.globus.cog.karajan.workflow.nodes.FlowNode.fireNotificationEvent(FlowNode.java:181)
> 	at org.globus.cog.karajan.workflow.nodes.FlowNode.complete(FlowNode.java:309)
> 	at org.globus.cog.karajan.workflow.nodes.FlowContainer.post(FlowContainer.java:58)
> 	at org.globus.cog.karajan.workflow.nodes.functions.AbstractFunction.post(AbstractFunction.java:28)
> 	at org.globus.cog.karajan.workflow.nodes.Sequential.startNext(Sequential.java:50)
> 	at org.globus.cog.karajan.workflow.nodes.Sequential.executeChildren(Sequential.java:26)
> 	at org.globus.cog.karajan.workflow.nodes.FlowContainer.execute(FlowContainer.java:63)
> 	at org.globus.cog.karajan.workflow.nodes.FlowNode.restart(FlowNode.java:238)
> 	at org.globus.cog.karajan.workflow.nodes.FlowNode.start(FlowNode.java:289)
> 	at org.globus.cog.karajan.workflow.nodes.FlowNode.controlEvent(FlowNode.java:402)
> 	at org.globus.cog.karajan.workflow.nodes.FlowNode.event(FlowNode.java:343)
> 	at org.globus.cog.karajan.workflow.events.EventBus.send(EventBus.java:173)
> 	at org.globus.cog.karajan.workflow.events.EventTargetPair.run(EventTargetPair.java:44)
> 	at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:431)
> 	at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:166)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:643)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:668)
> 	at java.lang.Thread.run(Thread.java:636)
> Caused by: java.lang.NumberFormatException: For input string: ""
> 	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
> 	at java.lang.Integer.parseInt(Integer.java:493)
> 	at java.lang.Integer.parseInt(Integer.java:514)
> 	at org.globus.cog.abstraction.impl.common.task.ServiceContactImpl.parse(ServiceContactImpl.java:90)
> 	at org.globus.cog.abstraction.impl.common.task.ServiceContactImpl.<init>(ServiceContactImpl.java:27)
> 	at org.griphyn.vdl.mapping.AbsFile.getFileResource(AbsFile.java:84)
> 	at org.griphyn.vdl.mapping.AbsFile.exists(AbsFile.java:99)
> 	... 63 more
> 
> The files needed for this run are located in ~jonmon/run.0000 on the ci machines.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-devel/attachments/20110711/57f0d8c0/attachment.html>


More information about the Swift-devel mailing list