Re: Apache Jena Fuseki with text indexing

2020-03-26 Thread Chris Tomlinson
Zhenya, Do you see any content in the directory: > text:directory ; like the following partial listing: > fuseki@foo :~/base/lucene-test$ ls -l > total 3608108 > -rw-rw 1 fuseki fuseki 7772 Jan 29 21:15 _19a_5x.liv > -rw-r- 1 fuseki fuseki299 Jan 21 15:53 _19a.cfe >

Re: Apache Jena Fuseki with text indexing

2020-03-26 Thread Zhenya Antić
@prefix : . @prefix tdb2: . @prefix rdf: . @prefix ja: . @prefix rdfs: . @prefix fuseki:

Re: Graceful shutdown of FusekiServer

2020-03-26 Thread Andy Seaborne
Because servers have to survive disgraceful shutdown anyway (crash, DOS, server switched off, casters on the rack broken [1]), there isn't a graceful procedure. "kill -9" TDB has to be able to recover in any circumstances so that it what it does. No graceful shutdown currently. What

Re: Upgrading 3.0.1 to 3.13.1: ReaderRIOT

2020-03-26 Thread Martynas Jusevičius
Need to match SPIN RDF API which is on 3.13.1... https://github.com/spinrdf/spinrdf/blob/master/pom.xml#L73 On Thu, 26 Mar 2020 at 17.32, Andy Seaborne wrote: > After 3.14.0, use of "IRI" got wrapped up to limit the places it is used > directly. > > Why 3.13.1 and not 3.14.0? > Or

Re: Upgrading 3.0.1 to 3.13.1: ReaderRIOT

2020-03-26 Thread Andy Seaborne
After 3.14.0, use of "IRI" got wrapped up to limit the places it is used directly. Why 3.13.1 and not 3.14.0? Or 3.15.0-SNAPSHOT because of JENA-1838. On 26/03/2020 13:36, Martynas Jusevičius wrote: Hi, I'm working on a long overdue upgrade of Jena. So far the area where I can see most

Re: Apache Jena Fuseki with text indexing

2020-03-26 Thread Zhenya Antić
Andy, I think I figured out what the issue is. It seems that I have two datasets with the same name, and one was started with the config file I sent (and has no data in it - and hence it is not indexed), and the other was started without a config file (like this: fuseki-server --port 3030

Re: Upgrading 3.0.1 to 3.13.1: ReaderRIOT

2020-03-26 Thread Martynas Jusevičius
Thanks. I'm trying 3.14.0 for now. Refactored RDFPostReader without much trouble, but now I get java.lang.NoClassDefFoundError: org/apache/http/client/HttpClient at org.apache.jena.riot.RDFParser.create(RDFParser.java:114) because RDFParser now has a field of type HttpClient :/ I guess it

Re: Upgrading 3.0.1 to 3.13.1: ReaderRIOT

2020-03-26 Thread Martynas Jusevičius
Oh right, this is the code I tried - got the exception both ways: Model parsed = ModelFactory.createDefaultModel(); try (StringReader reader = new StringReader(validRDFPost)) { RDFDataMgr.read(parsed, reader, "http://base;, RDFLanguages.RDFPOST); }

Re: Upgrading 3.0.1 to 3.13.1: ReaderRIOT

2020-03-26 Thread Andy Seaborne
On 26/03/2020 18:57, Martynas Jusevičius wrote: Need to match SPIN RDF API which is on 3.13.1... https://github.com/spinrdf/spinrdf/blob/master/pom.xml#L73 spinrdf does not have any binary artifacts and is built locally. Changing the version before building would be possible. Andy

Re: TDB blocked

2020-03-26 Thread Jean-Marc Vanel
Le mer. 25 mars 2020 à 17:17, Andy Seaborne a écrit : > > On 25/03/2020 14:36, Jean-Marc Vanel wrote: > > Le mer. 25 mars 2020 à 13:07, Andy Seaborne a écrit : > > ... > > >> What's the full stack trace? > >> (What's the blocking thread?) > I was looking for the other thread that is

Re: TDB blocked

2020-03-26 Thread Andy Seaborne
Fork - what sort of fork? Java's Fork/join or OS process fork? Doesn't forking (no exec) a JVM bypass all JVM related initialization, e.g. classes. That will break a lot of things, TDB included. I don't know if OS-fork clones everything anyway (e.g. threads and that means ThreadLocal might