[jira] [Commented] (JENA-1969) Can't start geosparql fuseki server with -rf and -t
[ https://issues.apache.org/jira/browse/JENA-1969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17207486#comment-17207486 ] Marco Neumann commented on JENA-1969: - yes TDB2 would be good to have in the options list. With regards to the spatial index, does that only refer to the testing of bounding box collisions? > Can't start geosparql fuseki server with -rf and -t > --- > > Key: JENA-1969 > URL: https://issues.apache.org/jira/browse/JENA-1969 > Project: Apache Jena > Issue Type: Improvement > Components: Fuseki, Spatial, TDB >Affects Versions: Jena 3.16.0 > Environment: Ubuntu 20.04.1 LTS > JENA_HOME=/apache-jena-3.17.0-SNAPSHOT > FUSEKI_HOME=/home/lotico/jena/apache-jena-fuseki-3.17.0-SNAPSHOT > openjdk version "13.0.3" 2020-04-14 > OpenJDK Runtime Environment (build 13.0.3+3-Ubuntu-1ubuntu2) > OpenJDK 64-Bit Server VM (build 13.0.3+3-Ubuntu-1ubuntu2, mixed mode) >Reporter: Marco Neumann >Assignee: Greg Albiston >Priority: Major > Fix For: Jena 3.17.0 > > > geosparql fuseki server can't be started with option combination -rf and -t > as described in the jena fuseki geosparql user documentation > (https://jena.apache.org/documentation/geosparql/geosparql-fuseki). > Individually with either option -rf or -t fuseki geosparql starts fine and > works as expected. Data can be loaded programmatically to tdb once created. > {noformat} > java -jar jena-fuseki-geosparql-3.17.0-20200915.115805-17.jar -rf data.ttl -t > "testDB2" > WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will > impact performance. > [2020-09-25 20:22:39] Main INFO Arguments Received: [-rf, data.ttl, > -t, testDB2] > [2020-09-25 20:22:39] DatasetOperations INFO Server Configuration: > port=3030, datsetName=ds, loopbackOnly=true, updateAllowed=false, > inference=false, applyDefaultGeometry=false, validateGeometryLiteral=false, > convertGeoPredicates=false, removeGeoPredicates=false, queryRewrite=true, > tdbFile=testDB2, fileGraphFormats=[FileGraphFormat{rdfFile=data.ttl, > graphName=, rdfFormat=Turtle/pretty}], fileGraphDelimiters=[], > indexEnabled=true, indexSizes=[-1, -1, -1], indexExpiries=[5000, 5000, 5000], > spatialIndexFile=null, help=false > [2020-09-25 20:22:39] DatasetOperations INFO TDB Dataset: testDB2 > [2020-09-25 20:22:41] DatasetOperations INFO Reading RDF - Started - File: > data.ttl, Graph Name: , RDF Format: Turtle/pretty > [2020-09-25 20:22:41] DatasetOperations INFO Reading RDF - Completed - File: > data.ttl, Graph Name: , RDF Format: Turtle/pretty > Exception in thread "main" > org.apache.jena.tdb.transaction.TDBTransactionException: Not in a transaction > at > org.apache.jena.tdb.transaction.DatasetGraphTransaction.get(DatasetGraphTransaction.java:138) > at > org.apache.jena.tdb.transaction.DatasetGraphTransaction.get(DatasetGraphTransaction.java:49) > at > org.apache.jena.sparql.core.DatasetGraphWrapper.getR(DatasetGraphWrapper.java:103) > at > org.apache.jena.sparql.core.DatasetGraphWrapper.isEmpty(DatasetGraphWrapper.java:192) > at org.apache.jena.sparql.core.DatasetImpl.isEmpty(DatasetImpl.java:247) > at > org.apache.jena.fuseki.geosparql.DatasetOperations.setup(DatasetOperations.java:95) > at org.apache.jena.fuseki.geosparql.Main.main(Main.java:64) > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (JENA-1969) Can't start geosparql fuseki server with -rf and -t
[ https://issues.apache.org/jira/browse/JENA-1969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17207321#comment-17207321 ] Greg Albiston commented on JENA-1969: - The current Spatial Index is immutable once built. It needs to be re-constructed when new geometries are added. This is consistent with the need to restart Fuseki when using inferencing to detect new triples. Adding a TDB2 switch should be straightforward to do. > Can't start geosparql fuseki server with -rf and -t > --- > > Key: JENA-1969 > URL: https://issues.apache.org/jira/browse/JENA-1969 > Project: Apache Jena > Issue Type: Improvement > Components: Fuseki, Spatial, TDB >Affects Versions: Jena 3.16.0 > Environment: Ubuntu 20.04.1 LTS > JENA_HOME=/apache-jena-3.17.0-SNAPSHOT > FUSEKI_HOME=/home/lotico/jena/apache-jena-fuseki-3.17.0-SNAPSHOT > openjdk version "13.0.3" 2020-04-14 > OpenJDK Runtime Environment (build 13.0.3+3-Ubuntu-1ubuntu2) > OpenJDK 64-Bit Server VM (build 13.0.3+3-Ubuntu-1ubuntu2, mixed mode) >Reporter: Marco Neumann >Assignee: Greg Albiston >Priority: Major > Fix For: Jena 3.17.0 > > > geosparql fuseki server can't be started with option combination -rf and -t > as described in the jena fuseki geosparql user documentation > (https://jena.apache.org/documentation/geosparql/geosparql-fuseki). > Individually with either option -rf or -t fuseki geosparql starts fine and > works as expected. Data can be loaded programmatically to tdb once created. > {noformat} > java -jar jena-fuseki-geosparql-3.17.0-20200915.115805-17.jar -rf data.ttl -t > "testDB2" > WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will > impact performance. > [2020-09-25 20:22:39] Main INFO Arguments Received: [-rf, data.ttl, > -t, testDB2] > [2020-09-25 20:22:39] DatasetOperations INFO Server Configuration: > port=3030, datsetName=ds, loopbackOnly=true, updateAllowed=false, > inference=false, applyDefaultGeometry=false, validateGeometryLiteral=false, > convertGeoPredicates=false, removeGeoPredicates=false, queryRewrite=true, > tdbFile=testDB2, fileGraphFormats=[FileGraphFormat{rdfFile=data.ttl, > graphName=, rdfFormat=Turtle/pretty}], fileGraphDelimiters=[], > indexEnabled=true, indexSizes=[-1, -1, -1], indexExpiries=[5000, 5000, 5000], > spatialIndexFile=null, help=false > [2020-09-25 20:22:39] DatasetOperations INFO TDB Dataset: testDB2 > [2020-09-25 20:22:41] DatasetOperations INFO Reading RDF - Started - File: > data.ttl, Graph Name: , RDF Format: Turtle/pretty > [2020-09-25 20:22:41] DatasetOperations INFO Reading RDF - Completed - File: > data.ttl, Graph Name: , RDF Format: Turtle/pretty > Exception in thread "main" > org.apache.jena.tdb.transaction.TDBTransactionException: Not in a transaction > at > org.apache.jena.tdb.transaction.DatasetGraphTransaction.get(DatasetGraphTransaction.java:138) > at > org.apache.jena.tdb.transaction.DatasetGraphTransaction.get(DatasetGraphTransaction.java:49) > at > org.apache.jena.sparql.core.DatasetGraphWrapper.getR(DatasetGraphWrapper.java:103) > at > org.apache.jena.sparql.core.DatasetGraphWrapper.isEmpty(DatasetGraphWrapper.java:192) > at org.apache.jena.sparql.core.DatasetImpl.isEmpty(DatasetImpl.java:247) > at > org.apache.jena.fuseki.geosparql.DatasetOperations.setup(DatasetOperations.java:95) > at org.apache.jena.fuseki.geosparql.Main.main(Main.java:64) > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (JENA-1969) Can't start geosparql fuseki server with -rf and -t
[ https://issues.apache.org/jira/browse/JENA-1969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17206750#comment-17206750 ] Marco Neumann commented on JENA-1969: - also in addition we had a request at ApacheCon 2020 for TDB2 support in geosparql-fuseki e.g. the ability to flag -t2 in the command line. In the long term we might want to considers to go for a file (.ttl) based configurable geosparql fuseki option here. but for now -t2 would suffice. > Can't start geosparql fuseki server with -rf and -t > --- > > Key: JENA-1969 > URL: https://issues.apache.org/jira/browse/JENA-1969 > Project: Apache Jena > Issue Type: Improvement > Components: Fuseki, Spatial, TDB >Affects Versions: Jena 3.16.0 > Environment: Ubuntu 20.04.1 LTS > JENA_HOME=/apache-jena-3.17.0-SNAPSHOT > FUSEKI_HOME=/home/lotico/jena/apache-jena-fuseki-3.17.0-SNAPSHOT > openjdk version "13.0.3" 2020-04-14 > OpenJDK Runtime Environment (build 13.0.3+3-Ubuntu-1ubuntu2) > OpenJDK 64-Bit Server VM (build 13.0.3+3-Ubuntu-1ubuntu2, mixed mode) >Reporter: Marco Neumann >Assignee: Greg Albiston >Priority: Major > Fix For: Jena 3.17.0 > > > geosparql fuseki server can't be started with option combination -rf and -t > as described in the jena fuseki geosparql user documentation > (https://jena.apache.org/documentation/geosparql/geosparql-fuseki). > Individually with either option -rf or -t fuseki geosparql starts fine and > works as expected. Data can be loaded programmatically to tdb once created. > {noformat} > java -jar jena-fuseki-geosparql-3.17.0-20200915.115805-17.jar -rf data.ttl -t > "testDB2" > WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will > impact performance. > [2020-09-25 20:22:39] Main INFO Arguments Received: [-rf, data.ttl, > -t, testDB2] > [2020-09-25 20:22:39] DatasetOperations INFO Server Configuration: > port=3030, datsetName=ds, loopbackOnly=true, updateAllowed=false, > inference=false, applyDefaultGeometry=false, validateGeometryLiteral=false, > convertGeoPredicates=false, removeGeoPredicates=false, queryRewrite=true, > tdbFile=testDB2, fileGraphFormats=[FileGraphFormat{rdfFile=data.ttl, > graphName=, rdfFormat=Turtle/pretty}], fileGraphDelimiters=[], > indexEnabled=true, indexSizes=[-1, -1, -1], indexExpiries=[5000, 5000, 5000], > spatialIndexFile=null, help=false > [2020-09-25 20:22:39] DatasetOperations INFO TDB Dataset: testDB2 > [2020-09-25 20:22:41] DatasetOperations INFO Reading RDF - Started - File: > data.ttl, Graph Name: , RDF Format: Turtle/pretty > [2020-09-25 20:22:41] DatasetOperations INFO Reading RDF - Completed - File: > data.ttl, Graph Name: , RDF Format: Turtle/pretty > Exception in thread "main" > org.apache.jena.tdb.transaction.TDBTransactionException: Not in a transaction > at > org.apache.jena.tdb.transaction.DatasetGraphTransaction.get(DatasetGraphTransaction.java:138) > at > org.apache.jena.tdb.transaction.DatasetGraphTransaction.get(DatasetGraphTransaction.java:49) > at > org.apache.jena.sparql.core.DatasetGraphWrapper.getR(DatasetGraphWrapper.java:103) > at > org.apache.jena.sparql.core.DatasetGraphWrapper.isEmpty(DatasetGraphWrapper.java:192) > at org.apache.jena.sparql.core.DatasetImpl.isEmpty(DatasetImpl.java:247) > at > org.apache.jena.fuseki.geosparql.DatasetOperations.setup(DatasetOperations.java:95) > at org.apache.jena.fuseki.geosparql.Main.main(Main.java:64) > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (JENA-1969) Can't start geosparql fuseki server with -rf and -t
[ https://issues.apache.org/jira/browse/JENA-1969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17206731#comment-17206731 ] Marco Neumann commented on JENA-1969: - Great Greg, this looks good. I can now start the server with the combination of -rf -t and -i. One aspect we should considered is the message about empty datasets. "DatasetOperations WARN Datset empty. Spatial Index not constructed. Server will require restarting after adding data and any updates to build Spatial Index." Could we not create an empty spatial index here to allow users start off with an empty dataset in tdb? > Can't start geosparql fuseki server with -rf and -t > --- > > Key: JENA-1969 > URL: https://issues.apache.org/jira/browse/JENA-1969 > Project: Apache Jena > Issue Type: Improvement > Components: Fuseki, Spatial, TDB >Affects Versions: Jena 3.16.0 > Environment: Ubuntu 20.04.1 LTS > JENA_HOME=/apache-jena-3.17.0-SNAPSHOT > FUSEKI_HOME=/home/lotico/jena/apache-jena-fuseki-3.17.0-SNAPSHOT > openjdk version "13.0.3" 2020-04-14 > OpenJDK Runtime Environment (build 13.0.3+3-Ubuntu-1ubuntu2) > OpenJDK 64-Bit Server VM (build 13.0.3+3-Ubuntu-1ubuntu2, mixed mode) >Reporter: Marco Neumann >Assignee: Greg Albiston >Priority: Major > Fix For: Jena 3.17.0 > > > geosparql fuseki server can't be started with option combination -rf and -t > as described in the jena fuseki geosparql user documentation > (https://jena.apache.org/documentation/geosparql/geosparql-fuseki). > Individually with either option -rf or -t fuseki geosparql starts fine and > works as expected. Data can be loaded programmatically to tdb once created. > {noformat} > java -jar jena-fuseki-geosparql-3.17.0-20200915.115805-17.jar -rf data.ttl -t > "testDB2" > WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will > impact performance. > [2020-09-25 20:22:39] Main INFO Arguments Received: [-rf, data.ttl, > -t, testDB2] > [2020-09-25 20:22:39] DatasetOperations INFO Server Configuration: > port=3030, datsetName=ds, loopbackOnly=true, updateAllowed=false, > inference=false, applyDefaultGeometry=false, validateGeometryLiteral=false, > convertGeoPredicates=false, removeGeoPredicates=false, queryRewrite=true, > tdbFile=testDB2, fileGraphFormats=[FileGraphFormat{rdfFile=data.ttl, > graphName=, rdfFormat=Turtle/pretty}], fileGraphDelimiters=[], > indexEnabled=true, indexSizes=[-1, -1, -1], indexExpiries=[5000, 5000, 5000], > spatialIndexFile=null, help=false > [2020-09-25 20:22:39] DatasetOperations INFO TDB Dataset: testDB2 > [2020-09-25 20:22:41] DatasetOperations INFO Reading RDF - Started - File: > data.ttl, Graph Name: , RDF Format: Turtle/pretty > [2020-09-25 20:22:41] DatasetOperations INFO Reading RDF - Completed - File: > data.ttl, Graph Name: , RDF Format: Turtle/pretty > Exception in thread "main" > org.apache.jena.tdb.transaction.TDBTransactionException: Not in a transaction > at > org.apache.jena.tdb.transaction.DatasetGraphTransaction.get(DatasetGraphTransaction.java:138) > at > org.apache.jena.tdb.transaction.DatasetGraphTransaction.get(DatasetGraphTransaction.java:49) > at > org.apache.jena.sparql.core.DatasetGraphWrapper.getR(DatasetGraphWrapper.java:103) > at > org.apache.jena.sparql.core.DatasetGraphWrapper.isEmpty(DatasetGraphWrapper.java:192) > at org.apache.jena.sparql.core.DatasetImpl.isEmpty(DatasetImpl.java:247) > at > org.apache.jena.fuseki.geosparql.DatasetOperations.setup(DatasetOperations.java:95) > at org.apache.jena.fuseki.geosparql.Main.main(Main.java:64) > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (JENA-1969) Can't start geosparql fuseki server with -rf and -t
[ https://issues.apache.org/jira/browse/JENA-1969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17204314#comment-17204314 ] Marco Neumann commented on JENA-1969: - this additional observation might be directly related this ticket. It's currently not possible to start geosparql fuseki wit tdb and rdfs inference support, though the combination of -rf and -i works as expected. {noformat} WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance. [2020-09-29 22:51:47] Main INFO Arguments Received: [--loopback, false, --update, -t, testDB5, -i] [2020-09-29 22:51:47] DatasetOperations INFO Server Configuration: port=3030, datsetName=ds, loopbackOnly=false, updateAllowed=true, inference=true, applyDefaultGeometry=false, validateGeometryLiteral=false, convertGeoPredicates=false, removeGeoPredicates=false, queryRewrite=true, tdbFile=testDB5, fileGraphFormats=[], fileGraphDelimiters=[], indexEnabled=true, indexSizes=[-1, -1, -1], indexExpiries=[5000, 5000, 5000], spatialIndexFile=null, help=false [2020-09-29 22:51:47] DatasetOperations INFO TDB Dataset: testDB5 [2020-09-29 22:51:48] GeoSPARQLOperations INFO Applying GeoSPARQL Schema - Started [2020-09-29 22:51:48] GeoSPARQLOperations INFO GeoSPARQL schema applied to graph: default [2020-09-29 22:51:48] GeoSPARQLOperations INFO Applying GeoSPARQL Schema - Completed Exception in thread "main" org.apache.jena.tdb.transaction.TDBTransactionException: Not in a transaction at org.apache.jena.tdb.transaction.DatasetGraphTransaction.get(DatasetGraphTransaction.java:138) at org.apache.jena.tdb.transaction.DatasetGraphTransaction.get(DatasetGraphTransaction.java:49) at org.apache.jena.sparql.core.DatasetGraphWrapper.getR(DatasetGraphWrapper.java:103) at org.apache.jena.sparql.core.DatasetGraphWrapper.isEmpty(DatasetGraphWrapper.java:192) at org.apache.jena.sparql.core.DatasetImpl.isEmpty(DatasetImpl.java:247) at org.apache.jena.fuseki.geosparql.DatasetOperations.setup(DatasetOperations.java:95) at org.apache.jena.fuseki.geosparql.Main.main(Main.java:64) {noformat} > Can't start geosparql fuseki server with -rf and -t > --- > > Key: JENA-1969 > URL: https://issues.apache.org/jira/browse/JENA-1969 > Project: Apache Jena > Issue Type: Improvement > Components: Fuseki, Spatial, TDB >Affects Versions: Jena 3.16.0 > Environment: Ubuntu 20.04.1 LTS > JENA_HOME=/apache-jena-3.17.0-SNAPSHOT > FUSEKI_HOME=/home/lotico/jena/apache-jena-fuseki-3.17.0-SNAPSHOT > openjdk version "13.0.3" 2020-04-14 > OpenJDK Runtime Environment (build 13.0.3+3-Ubuntu-1ubuntu2) > OpenJDK 64-Bit Server VM (build 13.0.3+3-Ubuntu-1ubuntu2, mixed mode) >Reporter: Marco Neumann >Assignee: Greg Albiston >Priority: Major > > geosparql fuseki server can't be started with option combination -rf and -t > as described in the jena fuseki geosparql user documentation > (https://jena.apache.org/documentation/geosparql/geosparql-fuseki). > Individually with either option -rf or -t fuseki geosparql starts fine and > works as expected. Data can be loaded programmatically to tdb once created. > {noformat} > java -jar jena-fuseki-geosparql-3.17.0-20200915.115805-17.jar -rf data.ttl -t > "testDB2" > WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will > impact performance. > [2020-09-25 20:22:39] Main INFO Arguments Received: [-rf, data.ttl, > -t, testDB2] > [2020-09-25 20:22:39] DatasetOperations INFO Server Configuration: > port=3030, datsetName=ds, loopbackOnly=true, updateAllowed=false, > inference=false, applyDefaultGeometry=false, validateGeometryLiteral=false, > convertGeoPredicates=false, removeGeoPredicates=false, queryRewrite=true, > tdbFile=testDB2, fileGraphFormats=[FileGraphFormat{rdfFile=data.ttl, > graphName=, rdfFormat=Turtle/pretty}], fileGraphDelimiters=[], > indexEnabled=true, indexSizes=[-1, -1, -1], indexExpiries=[5000, 5000, 5000], > spatialIndexFile=null, help=false > [2020-09-25 20:22:39] DatasetOperations INFO TDB Dataset: testDB2 > [2020-09-25 20:22:41] DatasetOperations INFO Reading RDF - Started - File: > data.ttl, Graph Name: , RDF Format: Turtle/pretty > [2020-09-25 20:22:41] DatasetOperations INFO Reading RDF - Completed - File: > data.ttl, Graph Name: , RDF Format: Turtle/pretty > Exception in thread "main" > org.apache.jena.tdb.transaction.TDBTransactionException: Not in a transaction > at > org.apache.jena.tdb.transaction.DatasetGraphTransaction.get(DatasetGraphTransaction.java:138) > at > org.apache.jena.tdb.transaction.DatasetGraphTransaction.get(DatasetGraphTransaction.java:49) > at > org.apache.jena.sparql.core.DatasetGraphWrapper.getR(DatasetGraphWrapper.java:103)