Hello,
I try to use the ext short component but I have an error "java.lang.RuntimeException : IOException".
My graph
<?xml version="1.0" encoding="UTF-8"?>
<Graph description="Trie et dédoublenage du fichier" name="acdaMarquages01">
<Global>
<Metadata fileURL="D:/workSpace/MaquetteMarquages/Metadata/MarquagesPlateforme.fmt" id="Metadata0"/>
<Property fileURL="D:/workSpace/MaquetteMarquages/Parameters/parameters.cfg" id="GraphParameter0"/>
</Global>
<Phase number="0">
<Node dedupKey="FTFRA_COTM_SLED_REF_1;FTFRA_COTM_SLED_REF_1_SEQ;FTFRA_COTM_SLED_RECORD_TYPE;FTFRA_COTM_RECORD_TYPE_SEQ;FTFRA_COTM_CUST_NUMBER;FTFRA_COTM_SLED_TRANS_DATE;FTFRA_COTM_SLED_TRANS_TYPE" enabled="enabled" guiHeight="0" guiName="Dedup" guiWidth="0" guiX="372" guiY="82" id="DEDUP0" keep="first" type="DEDUP"/>
<Node enabled="enabled" fileURL="${DataOut}\data.dat" guiHeight="0" guiName="Delimited Data Reader (New I/O)" guiWidth="0" guiX="77" guiY="82" id="DELIMITED_DATA_READER_NIO7" type="DELIMITED_DATA_READER_NIO"/>
<Node append="false" enabled="enabled" fileURL="${DataOut}\CO_MARQUAGES_TRIE_${DATRAIT}.dat" guiHeight="0" guiName="Delimited Data Writer (New I/O)" guiWidth="0" guiX="527" guiY="82" id="DELIMITED_DATA_WRITER_NIO0" type="DELIMITED_DATA_WRITER_NIO"/>
<Node enabled="enabled" guiHeight="0" guiName="Ext Sort" guiWidth="0" guiX="222" guiY="83" id="EXT_SORT0" sortKey="FTFRA_COTM_SLED_REF_1;FTFRA_COTM_SLED_REF_1_SEQ;FTFRA_COTM_SLED_RECORD_TYPE;FTFRA_COTM_RECORD_TYPE_SEQ;FTFRA_COTM_CUST_NUMBER;FTFRA_COTM_SLED_TRANS_DATE;FTFRA_COTM_SLED_TRANS_TYPE" sortOrder="Ascending" sorterInitialCapacity="7000" type="EXT_SORT"/>
<Edge fromNode="DEDUP0:0" guiBendpoints="" id="Edge2" inPort="0 (Delimited Data Writer (New I/O))" metadata="Metadata0" outPort="0 (Dedup)" toNode="DELIMITED_DATA_WRITER_NIO0:0"/>
<Edge fromNode="DELIMITED_DATA_READER_NIO7:0" guiBendpoints="" id="Edge3" inPort="0 (Ext Sort)" metadata="Metadata0" outPort="0 (Delimited Data Reader (New I/O))" toNode="EXT_SORT0:0"/>
<Edge fromNode="EXT_SORT0:0" guiBendpoints="" id="Edge4" inPort="0 (Dedup)" metadata="Metadata0" outPort="0 (Ext Sort)" toNode="DEDUP0:0"/>
</Phase>
</Graph>
Log:
GRAVE: !!! Fatal Error !!! - graph execution is aborting
3 août 2006 13:51:48 org.jetel.graph.WatchDog watch
GRAVE: Node EXT_SORT0 finished with fatal error: java.lang.RuntimeException : IOException when closing tape in carousel: java.io.IOException: Can't delete TMP file: C:\DOCUME~1\APO\LOCALS~1\Temp\.fbufclv29264.tmp
3 août 2006 13:51:48 org.jetel.graph.WatchDog abort
I try to use the ext short component but I have an error "java.lang.RuntimeException : IOException".
My graph
<?xml version="1.0" encoding="UTF-8"?>
<Graph description="Trie et dédoublenage du fichier" name="acdaMarquages01">
<Global>
<Metadata fileURL="D:/workSpace/MaquetteMarquages/Metadata/MarquagesPlateforme.fmt" id="Metadata0"/>
<Property fileURL="D:/workSpace/MaquetteMarquages/Parameters/parameters.cfg" id="GraphParameter0"/>
</Global>
<Phase number="0">
<Node dedupKey="FTFRA_COTM_SLED_REF_1;FTFRA_COTM_SLED_REF_1_SEQ;FTFRA_COTM_SLED_RECORD_TYPE;FTFRA_COTM_RECORD_TYPE_SEQ;FTFRA_COTM_CUST_NUMBER;FTFRA_COTM_SLED_TRANS_DATE;FTFRA_COTM_SLED_TRANS_TYPE" enabled="enabled" guiHeight="0" guiName="Dedup" guiWidth="0" guiX="372" guiY="82" id="DEDUP0" keep="first" type="DEDUP"/>
<Node enabled="enabled" fileURL="${DataOut}\data.dat" guiHeight="0" guiName="Delimited Data Reader (New I/O)" guiWidth="0" guiX="77" guiY="82" id="DELIMITED_DATA_READER_NIO7" type="DELIMITED_DATA_READER_NIO"/>
<Node append="false" enabled="enabled" fileURL="${DataOut}\CO_MARQUAGES_TRIE_${DATRAIT}.dat" guiHeight="0" guiName="Delimited Data Writer (New I/O)" guiWidth="0" guiX="527" guiY="82" id="DELIMITED_DATA_WRITER_NIO0" type="DELIMITED_DATA_WRITER_NIO"/>
<Node enabled="enabled" guiHeight="0" guiName="Ext Sort" guiWidth="0" guiX="222" guiY="83" id="EXT_SORT0" sortKey="FTFRA_COTM_SLED_REF_1;FTFRA_COTM_SLED_REF_1_SEQ;FTFRA_COTM_SLED_RECORD_TYPE;FTFRA_COTM_RECORD_TYPE_SEQ;FTFRA_COTM_CUST_NUMBER;FTFRA_COTM_SLED_TRANS_DATE;FTFRA_COTM_SLED_TRANS_TYPE" sortOrder="Ascending" sorterInitialCapacity="7000" type="EXT_SORT"/>
<Edge fromNode="DEDUP0:0" guiBendpoints="" id="Edge2" inPort="0 (Delimited Data Writer (New I/O))" metadata="Metadata0" outPort="0 (Dedup)" toNode="DELIMITED_DATA_WRITER_NIO0:0"/>
<Edge fromNode="DELIMITED_DATA_READER_NIO7:0" guiBendpoints="" id="Edge3" inPort="0 (Ext Sort)" metadata="Metadata0" outPort="0 (Delimited Data Reader (New I/O))" toNode="EXT_SORT0:0"/>
<Edge fromNode="EXT_SORT0:0" guiBendpoints="" id="Edge4" inPort="0 (Dedup)" metadata="Metadata0" outPort="0 (Ext Sort)" toNode="DEDUP0:0"/>
</Phase>
</Graph>
Log:
GRAVE: !!! Fatal Error !!! - graph execution is aborting
3 août 2006 13:51:48 org.jetel.graph.WatchDog watch
GRAVE: Node EXT_SORT0 finished with fatal error: java.lang.RuntimeException : IOException when closing tape in carousel: java.io.IOException: Can't delete TMP file: C:\DOCUME~1\APO\LOCALS~1\Temp\.fbufclv29264.tmp
3 août 2006 13:51:48 org.jetel.graph.WatchDog abort
-
Hi !
That indicates some problem with your TMP directory - ExtSort uses external (on disk) sorting if it can't fit all records into memory. This means that it created temp file for it but can't delete it at the end of processing - a bit strange since it was able to create it at first place.
Try to change your environment variable pointing to TEMP dir or run Clover (java) with following option set:
java -Djava.io.tmpdir=C:\temp
(change c:\temp to whatever directory you want).
David.
Please sign in to leave a comment.
Comments 1