SamuelBoerlin commented on issue #2254:
URL: https://github.com/apache/jena/issues/2254#issuecomment-1934212149

   Hi, thanks for taking a look at this!
   
   We're running Fuseki in a Docker container (based on 
eclipse-temurin:17-jre-focal which in turn is based on Ubuntu). The host is 
running Ubuntu 22.04.3 LTS.
   
   Here are the relevant logs:
   ```
   12:55:12 INFO Server :: Apache Jena Fuseki 4.10.0
   12:55:12 INFO Config :: FUSEKI_HOME=/jena-fuseki
   12:55:12 INFO Config :: FUSEKI_BASE=/fuseki
   12:55:12 INFO Config :: Shiro file: file:///fuseki/shiro.ini
   12:55:13 INFO Config :: Load configuration: 
file:///fuseki/configuration/dsp-repo.ttl
   12:55:13 INFO Server :: Configuration file: /fuseki/config.ttl
   12:55:13 INFO Server :: Path = /dsp-repo
   12:55:13 INFO Server :: Memory: 1.0 GiB
   12:55:13 INFO Server :: Java: 17.0.10
   12:55:13 INFO Server :: OS: Linux 5.15.0-91-generic amd64
   12:55:13 INFO Server :: PID: 7
   12:55:13 INFO Server :: Started 2024/02/08 12:55:13 UTC on port 3030
   <some queries>
   12:57:35 INFO Admin :: [47] Compact dataset /dsp-repo
   12:57:35 INFO Server :: Task : 1 : Compact
   12:57:35 INFO Server :: [Task 1] starts : Compact
   12:57:35 INFO Compact :: [47] >>>> Start compact /dsp-repo
   12:57:35 INFO Admin :: [48] Task 1
   12:57:45 INFO Admin :: [49] Task 1
   12:57:55 INFO Admin :: [51] Task 1
   12:58:05 INFO Admin :: [54] Task 1
   12:58:15 INFO Admin :: [55] Task 1
   12:58:25 INFO Admin :: [57] Task 1
   <stopped fuseki>
   12:58:46 INFO Server :: Apache Jena Fuseki 4.10.0
   12:58:46 INFO Config :: FUSEKI_HOME=/jena-fuseki
   12:58:46 INFO Config :: FUSEKI_BASE=/fuseki
   12:58:46 INFO Config :: Shiro file: file:///fuseki/shiro.ini
   12:58:46 INFO Config :: Load configuration: 
file:///fuseki/configuration/dsp-repo.ttl
   12:58:47 INFO Server :: Configuration file: /fuseki/config.ttl
   12:58:47 INFO Server :: Path = /dsp-repo
   12:58:47 INFO Server :: Memory: 1.0 GiB
   12:58:47 INFO Server :: Java: 17.0.10
   12:58:47 INFO Server :: OS: Linux 5.15.0-91-generic amd64
   12:58:47 INFO Server :: PID: 7
   12:58:47 INFO Server :: Started 2024/02/08 12:58:47 UTC on port 3030
   ```
   
   There are no errors in the logs and Fuseki starts up just fine after it was 
stopped during compaction, it's just missing most of the original data.
   
   And these are the files in Data-0001 (original) and Data-0002 (partially 
compacted):
   ```
   root@dd2493b7258a:/fuseki/databases/dsp-repo# ls -la Data-0001
   total 8408748
   drwxr-xr-x 2 root root       4096 Feb  8 04:01 .
   drwxr-xr-x 4 root root       4096 Feb  8 13:57 ..
   -rw-r--r-- 1 root root         24 Feb  8 04:10 GOSP.bpt
   -rw-r--r-- 1 root root 1317011456 Feb  8 04:10 GOSP.dat
   -rw-r--r-- 1 root root   16777216 Feb  8 04:10 GOSP.idn
   -rw-r--r-- 1 root root         24 Feb  8 04:10 GPOS.bpt
   -rw-r--r-- 1 root root 1342177280 Feb  8 04:10 GPOS.dat
   -rw-r--r-- 1 root root   16777216 Feb  8 04:10 GPOS.idn
   -rw-r--r-- 1 root root         24 Feb  8 04:10 GPU.bpt
   -rw-r--r-- 1 root root    8388608 Feb  8 04:01 GPU.dat
   -rw-r--r-- 1 root root    8388608 Feb  8 04:01 GPU.idn
   -rw-r--r-- 1 root root         24 Feb  8 04:10 GSPO.bpt
   -rw-r--r-- 1 root root 1375731712 Feb  8 04:10 GSPO.dat
   -rw-r--r-- 1 root root   16777216 Feb  8 04:10 GSPO.idn
   -rw-r--r-- 1 root root          0 Feb  8 04:10 journal.jrnl
   -rw-r--r-- 1 root root         24 Feb  8 04:10 nodes.bpt
   -rw-r--r-- 1 root root  176160768 Feb  8 04:10 nodes.dat
   -rw-r--r-- 1 root root         16 Feb  8 04:10 nodes-data.bdf
   -rw-r--r-- 1 root root  308827588 Feb  8 04:10 nodes-data.obj
   -rw-r--r-- 1 root root    8388608 Feb  8 04:10 nodes.idn
   -rw-r--r-- 1 root root         24 Feb  8 04:10 OSP.bpt
   -rw-r--r-- 1 root root    8388608 Feb  8 04:01 OSP.dat
   -rw-r--r-- 1 root root         24 Feb  8 04:10 OSPG.bpt
   -rw-r--r-- 1 root root 1317011456 Feb  8 04:10 OSPG.dat
   -rw-r--r-- 1 root root   16777216 Feb  8 04:10 OSPG.idn
   -rw-r--r-- 1 root root    8388608 Feb  8 04:01 OSP.idn
   -rw-r--r-- 1 root root         24 Feb  8 04:10 POS.bpt
   -rw-r--r-- 1 root root    8388608 Feb  8 04:01 POS.dat
   -rw-r--r-- 1 root root         24 Feb  8 04:10 POSG.bpt
   -rw-r--r-- 1 root root 1350565888 Feb  8 04:10 POSG.dat
   -rw-r--r-- 1 root root   16777216 Feb  8 04:10 POSG.idn
   -rw-r--r-- 1 root root    8388608 Feb  8 04:01 POS.idn
   -rw-r--r-- 1 root root         24 Feb  8 04:10 prefixes.bpt
   -rw-r--r-- 1 root root    8388608 Feb  8 04:01 prefixes.dat
   -rw-r--r-- 1 root root         16 Feb  8 04:10 prefixes-data.bdf
   -rw-r--r-- 1 root root          0 Feb  8 04:01 prefixes-data.obj
   -rw-r--r-- 1 root root    8388608 Feb  8 04:01 prefixes.idn
   -rw-r--r-- 1 root root         24 Feb  8 04:10 SPO.bpt
   -rw-r--r-- 1 root root    8388608 Feb  8 04:01 SPO.dat
   -rw-r--r-- 1 root root         24 Feb  8 04:10 SPOG.bpt
   -rw-r--r-- 1 root root 1375731712 Feb  8 04:10 SPOG.dat
   -rw-r--r-- 1 root root   16777216 Feb  8 04:10 SPOG.idn
   -rw-r--r-- 1 root root    8388608 Feb  8 04:01 SPO.idn
   -rw-r--r-- 1 root root          2 Feb  8 13:55 tdb.lock
   root@dd2493b7258a:/fuseki/databases/dsp-repo# ls -la Data-0002
   total 982360
   drwxr-xr-x 2 root root      4096 Feb  8 13:57 .
   drwxr-xr-x 4 root root      4096 Feb  8 13:57 ..
   -rw-r--r-- 1 root root        24 Feb  8 13:59 GOSP.bpt
   -rw-r--r-- 1 root root 150994944 Feb  8 13:59 GOSP.dat
   -rw-r--r-- 1 root root   8388608 Feb  8 13:59 GOSP.idn
   -rw-r--r-- 1 root root        24 Feb  8 13:59 GPOS.bpt
   -rw-r--r-- 1 root root 159383552 Feb  8 13:59 GPOS.dat
   -rw-r--r-- 1 root root   8388608 Feb  8 13:59 GPOS.idn
   -rw-r--r-- 1 root root        24 Feb  8 13:59 GPU.bpt
   -rw-r--r-- 1 root root   8388608 Feb  8 13:57 GPU.dat
   -rw-r--r-- 1 root root   8388608 Feb  8 13:57 GPU.idn
   -rw-r--r-- 1 root root        24 Feb  8 13:59 GSPO.bpt
   -rw-r--r-- 1 root root 167772160 Feb  8 13:59 GSPO.dat
   -rw-r--r-- 1 root root   8388608 Feb  8 13:59 GSPO.idn
   -rw-r--r-- 1 root root         0 Feb  8 13:59 journal.jrnl
   -rw-r--r-- 1 root root        24 Feb  8 13:59 nodes.bpt
   -rw-r--r-- 1 root root  25165824 Feb  8 13:59 nodes.dat
   -rw-r--r-- 1 root root        16 Feb  8 13:59 nodes-data.bdf
   -rw-r--r-- 1 root root  44722477 Feb  8 13:59 nodes-data.obj
   -rw-r--r-- 1 root root   8388608 Feb  8 13:59 nodes.idn
   -rw-r--r-- 1 root root        24 Feb  8 13:59 OSP.bpt
   -rw-r--r-- 1 root root   8388608 Feb  8 13:57 OSP.dat
   -rw-r--r-- 1 root root        24 Feb  8 13:59 OSPG.bpt
   -rw-r--r-- 1 root root 150994944 Feb  8 13:59 OSPG.dat
   -rw-r--r-- 1 root root   8388608 Feb  8 13:59 OSPG.idn
   -rw-r--r-- 1 root root   8388608 Feb  8 13:57 OSP.idn
   -rw-r--r-- 1 root root        24 Feb  8 13:59 POS.bpt
   -rw-r--r-- 1 root root   8388608 Feb  8 13:57 POS.dat
   -rw-r--r-- 1 root root        24 Feb  8 13:59 POSG.bpt
   -rw-r--r-- 1 root root 159383552 Feb  8 13:59 POSG.dat
   -rw-r--r-- 1 root root   8388608 Feb  8 13:59 POSG.idn
   -rw-r--r-- 1 root root   8388608 Feb  8 13:57 POS.idn
   -rw-r--r-- 1 root root        24 Feb  8 13:59 prefixes.bpt
   -rw-r--r-- 1 root root   8388608 Feb  8 13:57 prefixes.dat
   -rw-r--r-- 1 root root        16 Feb  8 13:59 prefixes-data.bdf
   -rw-r--r-- 1 root root         0 Feb  8 13:57 prefixes-data.obj
   -rw-r--r-- 1 root root   8388608 Feb  8 13:57 prefixes.idn
   -rw-r--r-- 1 root root        24 Feb  8 13:59 SPO.bpt
   -rw-r--r-- 1 root root   8388608 Feb  8 13:57 SPO.dat
   -rw-r--r-- 1 root root        24 Feb  8 13:59 SPOG.bpt
   -rw-r--r-- 1 root root 167772160 Feb  8 13:59 SPOG.dat
   -rw-r--r-- 1 root root   8388608 Feb  8 13:59 SPOG.idn
   -rw-r--r-- 1 root root   8388608 Feb  8 13:57 SPO.idn
   -rw-r--r-- 1 root root         2 Feb  8 13:58 tdb.lock
   root@dd2493b7258a:/fuseki/databases/dsp-repo# 
   ```
   
   Config:
   ```
   @prefix :           <http://base/#> .
   @prefix fuseki:     <http://jena.apache.org/fuseki#> .
   @prefix ja:         <http://jena.hpl.hp.com/2005/11/Assembler#> .
   @prefix knora-base: <http://www.knora.org/ontology/knora-base#> .
   @prefix rdf:        <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
   @prefix rdfs:       <http://www.w3.org/2000/01/rdf-schema#> .
   @prefix root:       <http://127.0.0.1:8888/$/datasets#> .
   @prefix tdb2:       <http://jena.apache.org/2016/tdb#> .
   @prefix text:       <http://jena.apache.org/text#> .
   
   :indexLucene  rdf:type  text:TextIndexLucene;
           text:analyzer   [ rdf:type        text:ConfigurableAnalyzer;
                             text:filters    ( text:ASCIIFoldingFilter 
text:LowerCaseFilter );
                             text:tokenizer  text:WhitespaceTokenizer
                           ];
           text:directory  "/fuseki/lucene/dsp-repo";
           text:entityMap  :entMap .
   
   [ rdf:type         fuseki:Server;
     fuseki:services  :service_tdb_all;
     ja:loadClass     "org.apache.jena.query.text.TextQuery"
   ] .
   
   :tdb_dataset_readwrite
           rdf:type                tdb2:DatasetTDB2;
           tdb2:location           "/fuseki/databases/dsp-repo";
           tdb2:unionDefaultGraph  true .
   
   :service_tdb_all  rdf:type            fuseki:Service;
           rdfs:label                    "TDB2 dsp-repo";
           fuseki:dataset                :text_dataset;
           fuseki:name                   "dsp-repo";
           fuseki:serviceQuery           "sparql" , "query";
           fuseki:serviceReadGraphStore  "get";
           fuseki:serviceReadWriteGraphStore
                   "data";
           fuseki:serviceUpdate          "update";
           fuseki:serviceUpload          "upload" .
   
   :text_dataset  rdf:type  text:TextDataset;
           text:dataset  :tdb_dataset_readwrite;
           text:index    :indexLucene .
   
   :entMap  rdf:type          text:EntityMap;
           text:defaultField  "text";
           text:entityField   "uri";
           text:map           ( [ text:field      "text";
                                  text:predicate  rdfs:label
                                ]
                                [ text:field      "text";
                                  text:predicate  knora-base:valueHasString
                                ]
                                [ text:field      "text";
                                  text:predicate  knora-base:valueHasComment
                                ]
                              );
           text:uidField      "uid" .
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to