On 23/04/2021 13:33, Mikael Pesonen wrote:

Hi,

we get this exception now when starting Jena and it's not loading any data. I have no idea what is changed on the server.

Apr 23 13:51:09 solid java[6846]: [2021-04-23 13:51:09] Fuseki WARN  [2] RC = 500 : NodeTableTRDF/Read Apr 23 13:51:09 solid java[6846]: org.apache.jena.tdb2.TDBException: NodeTableTRDF/Read Apr 23 13:51:09 solid java[6846]:         at org.apache.jena.tdb2.store.nodetable.NodeTableTRDF.readNodeFromTable(NodeTableTRDF.java:87) ~[fuseki-server.jar:3.17.0] Apr 23 13:51:09 solid java[6846]:         at org.apache.jena.tdb2.store.nodetable.NodeTableNative._retrieveNodeByNodeId(NodeTableNative.java:103) ~[fuseki-server.jar:3.17.0]

TDBException wraps a Thrift exception which has the details.


Any idea what is going on? There was shortage of disk space, hope the db is not corrupted.

You would have got errors at update time.

    Andy




Service:

ExecStart=/usr/lib/jvm/java-8-oracle/bin/java -Xmx3000M -jar /opt/insight/jena/fuseki-server.jar --update --port 3030 --config=/opt/insight/jena/run/fuseki_config.ttl

Config:

PREFIX : <#>
PREFIX fuseki: <http://jena.apache.org/fuseki#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX ja: <http://jena.hpl.hp.com/2005/11/Assembler#>

PREFIX tdb2: <http://jena.apache.org/2016/tdb#>
PREFIX text: <http://jena.apache.org/text#>

PREFIX lsrm: <https://resource.lingsoft.fi/ns/resource_meta#>

[] rdf:type fuseki:Server ;
fuseki:services (
:service
) .

:service rdf:type fuseki:Service ;
fuseki:name "/ds" ; # http://host:port/ds-ro
fuseki:serviceQuery "query" ; # SPARQL query service
fuseki:serviceQuery "sparql" ; # SPARQL query service
fuseki:serviceUpdate "update" ; # SPARQL update service
fuseki:serviceUpload "upload" ; # Non-SPARQL upload service
fuseki:serviceReadWriteGraphStore "data" ; # SPARQL Graph store protocol (read and write)
fuseki:dataset :text_dataset ;
.

:text_dataset rdf:type text:TextDataset ;
text:dataset :tdb2_dataset ;
text:index :indexLucene ;
.
:tdb2_dataset rdf:type tdb2:DatasetTDB2 ;
tdb2:location "/opt/insight/jena_data/" ;
.

# Text index description
:indexLucene a text:TextIndexLucene ;
text:directory <file:/opt/insight/jena_text_index/> ;
text:entityMap :entMap ;
text:storeValues true ;
#text:analyzer [ a text:StandardAnalyzer ] ;
#text:queryAnalyzer [ a text:KeywordAnalyzer ] ;
#text:queryParser text:QueryParser ; # text:AnalyzingQueryParser
#text:multilingualSupport true ;
.

:entMap a text:EntityMap ;
text:entityField "uri" ;
## Must be defined in the text:map
text:defaultField "lsrm_lmz_title" ;
## Enable deleting of text index entries.
text:uidField "uid" ;
text:langField "lang" ;
text:graphField "graph" ;
text:map (
[ text:field "lsrm_lmz_title" ; text:predicate lsrm:lmz_title]
[ text:field "lsrm_lmz_content" ; text:predicate lsrm:lmz_content]
)
.

Reply via email to