On 12/06/12 00:08, Stephen Allen wrote:
I have seen this TDB test failure on Windows for a while.  I believe
it is caused by the notorious JVM bug that doesn't allow the memory
mapped file to be deleted by the test, which then attempts to create a
new one in the same location.

Partial Analysis:

The main command program does:

tdbloader3.exec()
  -->
   DatasetGraphTDB dsg = SetupTDB.buildDataset(location) ;
then closes the triples and quad tables in order to format the directory.

This creates the files in the directory.

Reoping them on Linux in

NodeTableBuilder2.buildNodeTableBPTreeIndex

causes them to be zero length but on Window as they are 8M or 8K (mapped or direct modes) - looks like the files stay open and junk is seen even when in direct mode.

        Andy


Running tdb.TS_TDBLoader3
18:39:27 ERROR BPlusTreeRewriter         :: **** Not the root: 1024
com.hp.hpl.jena.tdb.index.bplustree.BPTreeException
at com.hp.hpl.jena.tdb.index.bplustree.BPlusTreeRewriter.packIntoBPlusTr
ee(BPlusTreeRewriter.java:89)
at org.apache.jena.tdb.store.bulkloader3.NodeTableBuilder2.buildNodeTabl
eBPTreeIndex(NodeTableBuilder2.java:296)
at org.apache.jena.tdb.store.bulkloader3.NodeTableBuilder2.close(NodeTab
leBuilder2.java:172)
        at tdb.tdbloader3.exec(tdbloader3.java:216)
        at arq.cmdline.CmdMain.mainMethod(CmdMain.java:101)
        at arq.cmdline.CmdMain.mainRun(CmdMain.java:63)
        at arq.cmdline.CmdMain.mainRun(CmdMain.java:50)
        at tdb.tdbloader3.main(tdbloader3.java:108)
        at tdb.TestTDBLoader3.run(TestTDBLoader3.java:120)
        at tdb.TestTDBLoader3.test(TestTDBLoader3.java:88)

Reply via email to