You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2015/03/07 11:36:38 UTC

[jira] [Created] (JENA-895) Fuseki2 backups

Andy Seaborne created JENA-895:
----------------------------------

             Summary: Fuseki2 backups 
                 Key: JENA-895
                 URL: https://issues.apache.org/jira/browse/JENA-895
             Project: Apache Jena
          Issue Type: Bug
          Components: Fuseki
    Affects Versions: Fuseki 2.0.0
            Reporter: Andy Seaborne
            Assignee: Andy Seaborne


Fuseki2 backups aren't properly wrapped in a transaction, causing the exception below for TDB (if the dataset has moved to transactional - there is a timing hole around backup+first use in a recently started server).

{noformat}
[2015-03-07 10:20:49] Backup     INFO  [11] >>>> Start backup /ds -> /home/afs/tmp/run/backups/ds_2015-03-07_10-20-49
[2015-03-07 10:20:49] Backup     INFO  [11] **** Exception in backup
com.hp.hpl.jena.tdb.transaction.TDBTransactionException: Not in a transaction
	at com.hp.hpl.jena.tdb.transaction.DatasetGraphTransaction.get(DatasetGraphTransaction.java:106)
	at com.hp.hpl.jena.tdb.transaction.DatasetGraphTransaction.get(DatasetGraphTransaction.java:40)
	at com.hp.hpl.jena.sparql.core.DatasetGraphTrackActive.getDefaultGraph(DatasetGraphTrackActive.java:91)
	at org.apache.jena.riot.system.RiotLib.prefixMap(RiotLib.java:257)
	at org.apache.jena.riot.RDFDataMgr.write$(RDFDataMgr.java:1331)
	at org.apache.jena.riot.RDFDataMgr.write(RDFDataMgr.java:1205)
	at org.apache.jena.riot.RDFDataMgr.write(RDFDataMgr.java:1195)
	at org.apache.jena.fuseki.mgt.Backup.backup(Backup.java:88)
	at org.apache.jena.fuseki.mgt.ActionBackup$BackupTask.run(ActionBackup.java:76)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)