You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Ewa Szwed <ew...@gmail.com> on 2014/09/17 13:14:28 UTC

RecordRangeIterator: records not strictly increasing - Error in FUSEKI

Hi,

I have run into problem with Fuseki server recently after I was doing my
Jena TDB update using your tdbupdate tool.

During this update I was using tdbupdate heavily to both delete and insert
triples.

I have deleted approx. 10 mil triples and added approx. 130 mil triples.

The Fuseki was switched of during this update and then I turned it on and
notice that for some of my queries it is returning the following error:

Error 500: RecordRangeIterator: records not strictly increasing:
00000000000000ff000000006a5a0c9300000000590a2798 //
00000000000000ff000000006a5a0c930000000059001dfa


Fuseki - version 1.0.1-SNAPSHOT (Build date: 2013-11-05T23:14:05+0000)


Query example:

prefix fb: <http://rdf.freebase.com/ns/>
prefix fn: <http://www.w3.org/2005/xpath-functions#>
select ?mID ?scientific_name ?entity
where {
{
?mID_raw fb:type.object.type fb:biology.organism_classification .
?mID_raw fb:type.object.name ?entity .
?mID_raw fb:biology.organism_classification.scientific_name ?scientific_name.
FILTER (lang(?entity) = "en" && lang(?scientific_name) = "en").
}
BIND(REPLACE(str(?mID_raw), "http://rdf.freebase.com/ns/", "") as ?mID)
}

order by ?mID


Before the update this query was working just fine.

Is this a bug in tdbupdate or in Fuseki? Please advise the solution.

Many thanks,

Ewa Szwed

Re: RecordRangeIterator: records not strictly increasing - Error in FUSEKI

Posted by Ewa Szwed <ew...@gmail.com>.
Hi,
Thank you for your answer.
Is this the current official version:
http://jena.apache.org/download/index.cgi
or there is newer one available?

2014-09-17 12:14 GMT+01:00 Ewa Szwed <ew...@gmail.com>:

> Hi,
>
> I have run into problem with Fuseki server recently after I was doing my
> Jena TDB update using your tdbupdate tool.
>
> During this update I was using tdbupdate heavily to both delete and insert
> triples.
>
> I have deleted approx. 10 mil triples and added approx. 130 mil triples.
>
> The Fuseki was switched of during this update and then I turned it on and
> notice that for some of my queries it is returning the following error:
>
> Error 500: RecordRangeIterator: records not strictly increasing: 00000000000000ff000000006a5a0c9300000000590a2798 // 00000000000000ff000000006a5a0c930000000059001dfa
>
>
> Fuseki - version 1.0.1-SNAPSHOT (Build date: 2013-11-05T23:14:05+0000)
>
>
> Query example:
>
> prefix fb: <http://rdf.freebase.com/ns/>
> prefix fn: <http://www.w3.org/2005/xpath-functions#>
> select ?mID ?scientific_name ?entity
> where {
> {
> ?mID_raw fb:type.object.type fb:biology.organism_classification .
> ?mID_raw fb:type.object.name ?entity .
> ?mID_raw fb:biology.organism_classification.scientific_name ?scientific_name.
> FILTER (lang(?entity) = "en" && lang(?scientific_name) = "en").
> }
> BIND(REPLACE(str(?mID_raw), "http://rdf.freebase.com/ns/", "") as ?mID)
> }
>
> order by ?mID
>
>
> Before the update this query was working just fine.
>
> Is this a bug in tdbupdate or in Fuseki? Please advise the solution.
>
> Many thanks,
>
> Ewa Szwed
>
>
>

Re: RecordRangeIterator: records not strictly increasing - Error in FUSEKI

Posted by Andy Seaborne <an...@apache.org>.
On 17/09/14 12:14, Ewa Szwed wrote:
> Hi,
>
> I have run into problem with Fuseki server recently after I was doing my
> Jena TDB update using your tdbupdate tool.
>
> During this update I was using tdbupdate heavily to both delete and insert
> triples.
>
> I have deleted approx. 10 mil triples and added approx. 130 mil triples.
>
> The Fuseki was switched of during this update and then I turned it on and
> notice that for some of my queries it is returning the following error:
>
> Error 500: RecordRangeIterator: records not strictly increasing:
> 00000000000000ff000000006a5a0c9300000000590a2798 //
> 00000000000000ff000000006a5a0c930000000059001dfa
>
>
> Fuseki - version 1.0.1-SNAPSHOT (Build date: 2013-11-05T23:14:05+0000)
>
>
> Query example:
>
> prefix fb: <http://rdf.freebase.com/ns/>
> prefix fn: <http://www.w3.org/2005/xpath-functions#>
> select ?mID ?scientific_name ?entity
> where {
> {
> ?mID_raw fb:type.object.type fb:biology.organism_classification .
> ?mID_raw fb:type.object.name ?entity .
> ?mID_raw fb:biology.organism_classification.scientific_name ?scientific_name.
> FILTER (lang(?entity) = "en" && lang(?scientific_name) = "en").
> }
> BIND(REPLACE(str(?mID_raw), "http://rdf.freebase.com/ns/", "") as ?mID)
> }
>
> order by ?mID
>
>
> Before the update this query was working just fine.
>
> Is this a bug in tdbupdate or in Fuseki? Please advise the solution.

This is a sign that sometime previously changes to the database were not 
properly flushed to disk.  It may have been a long time ago.

The tdbupdate itself does changes its changes using transactions if it 
is acting on TDB database directly, but not if there is some layer over 
the top (e.g. inference, text index)

Unrelated: There are newer, released versions of Fuseki.

	Andy

>
> Many thanks,
>
> Ewa Szwed
>


Re: RecordRangeIterator: records not strictly increasing - Error in FUSEKI

Posted by Ewa Szwed <ew...@gmail.com>.
Hi,
Thank you - that worked after I updated Java.

2014-09-22 13:59 GMT+01:00 Rob Vesse <rv...@dotnetrdf.org>:

> No, an UnsupportedClassVersionError means your JVM is too old to support
> the code you are trying to run.
>
> Jena 2.12.0 onwards requires Java 7
>
> Rob
>
> On 22/09/2014 13:08, "Ewa Szwed" <ew...@gmail.com> wrote:
>
> >Hi,
> >I have tried to update with the current version from the website and this
> >is what I see:
> >Exception in thread "main" java.lang.UnsupportedClassVersionError:
> >org/apache/jena/fuseki/FusekiCmd : Unsupported major.minor version 51.0
> >at java.lang.ClassLoader.defineClass1(Native Method)
> >at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
> >at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
> >at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
> >at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
> >at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
> >at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
> >at java.security.AccessController.doPrivileged(Native Method)
> >at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> >at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> >at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> >at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> >Could not find the main class: org.apache.jena.fuseki.FusekiCmd. Program
> >will exit.
> >Is this an issue on your side?
> >
> >
> >2014-09-17 12:14 GMT+01:00 Ewa Szwed <ew...@gmail.com>:
> >
> >> Hi,
> >>
> >> I have run into problem with Fuseki server recently after I was doing my
> >> Jena TDB update using your tdbupdate tool.
> >>
> >> During this update I was using tdbupdate heavily to both delete and
> >>insert
> >> triples.
> >>
> >> I have deleted approx. 10 mil triples and added approx. 130 mil triples.
> >>
> >> The Fuseki was switched of during this update and then I turned it on
> >>and
> >> notice that for some of my queries it is returning the following error:
> >>
> >> Error 500: RecordRangeIterator: records not strictly increasing:
> >>00000000000000ff000000006a5a0c9300000000590a2798 //
> >>00000000000000ff000000006a5a0c930000000059001dfa
> >>
> >>
> >> Fuseki - version 1.0.1-SNAPSHOT (Build date: 2013-11-05T23:14:05+0000)
> >>
> >>
> >> Query example:
> >>
> >> prefix fb: <http://rdf.freebase.com/ns/>
> >> prefix fn: <http://www.w3.org/2005/xpath-functions#>
> >> select ?mID ?scientific_name ?entity
> >> where {
> >> {
> >> ?mID_raw fb:type.object.type fb:biology.organism_classification .
> >> ?mID_raw fb:type.object.name ?entity .
> >> ?mID_raw fb:biology.organism_classification.scientific_name
> >>?scientific_name.
> >> FILTER (lang(?entity) = "en" && lang(?scientific_name) = "en").
> >> }
> >> BIND(REPLACE(str(?mID_raw), "http://rdf.freebase.com/ns/", "") as ?mID)
> >> }
> >>
> >> order by ?mID
> >>
> >>
> >> Before the update this query was working just fine.
> >>
> >> Is this a bug in tdbupdate or in Fuseki? Please advise the solution.
> >>
> >> Many thanks,
> >>
> >> Ewa Szwed
> >>
> >>
> >>
>
>
>
>
>

Re: RecordRangeIterator: records not strictly increasing - Error in FUSEKI

Posted by Rob Vesse <rv...@dotnetrdf.org>.
No, an UnsupportedClassVersionError means your JVM is too old to support
the code you are trying to run.

Jena 2.12.0 onwards requires Java 7

Rob

On 22/09/2014 13:08, "Ewa Szwed" <ew...@gmail.com> wrote:

>Hi,
>I have tried to update with the current version from the website and this
>is what I see:
>Exception in thread "main" java.lang.UnsupportedClassVersionError:
>org/apache/jena/fuseki/FusekiCmd : Unsupported major.minor version 51.0
>at java.lang.ClassLoader.defineClass1(Native Method)
>at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
>at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
>at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
>at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
>at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
>at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
>at java.security.AccessController.doPrivileged(Native Method)
>at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>Could not find the main class: org.apache.jena.fuseki.FusekiCmd. Program
>will exit.
>Is this an issue on your side?
>
>
>2014-09-17 12:14 GMT+01:00 Ewa Szwed <ew...@gmail.com>:
>
>> Hi,
>>
>> I have run into problem with Fuseki server recently after I was doing my
>> Jena TDB update using your tdbupdate tool.
>>
>> During this update I was using tdbupdate heavily to both delete and
>>insert
>> triples.
>>
>> I have deleted approx. 10 mil triples and added approx. 130 mil triples.
>>
>> The Fuseki was switched of during this update and then I turned it on
>>and
>> notice that for some of my queries it is returning the following error:
>>
>> Error 500: RecordRangeIterator: records not strictly increasing:
>>00000000000000ff000000006a5a0c9300000000590a2798 //
>>00000000000000ff000000006a5a0c930000000059001dfa
>>
>>
>> Fuseki - version 1.0.1-SNAPSHOT (Build date: 2013-11-05T23:14:05+0000)
>>
>>
>> Query example:
>>
>> prefix fb: <http://rdf.freebase.com/ns/>
>> prefix fn: <http://www.w3.org/2005/xpath-functions#>
>> select ?mID ?scientific_name ?entity
>> where {
>> {
>> ?mID_raw fb:type.object.type fb:biology.organism_classification .
>> ?mID_raw fb:type.object.name ?entity .
>> ?mID_raw fb:biology.organism_classification.scientific_name
>>?scientific_name.
>> FILTER (lang(?entity) = "en" && lang(?scientific_name) = "en").
>> }
>> BIND(REPLACE(str(?mID_raw), "http://rdf.freebase.com/ns/", "") as ?mID)
>> }
>>
>> order by ?mID
>>
>>
>> Before the update this query was working just fine.
>>
>> Is this a bug in tdbupdate or in Fuseki? Please advise the solution.
>>
>> Many thanks,
>>
>> Ewa Szwed
>>
>>
>>





Re: RecordRangeIterator: records not strictly increasing - Error in FUSEKI

Posted by Andy Seaborne <an...@apache.org>.
On 22/09/14 13:08, Ewa Szwed wrote:
> Hi,
> I have tried to update with the current version from the website and this
> is what I see:
> Exception in thread "main" java.lang.UnsupportedClassVersionError:
> org/apache/jena/fuseki/FusekiCmd : Unsupported major.minor version 51.0
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
> at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
> at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class: org.apache.jena.fuseki.FusekiCmd. Program
> will exit.
> Is this an issue on your side?

No.

You need java7 for Jena 2.12 (and the associated Fuseki build).

	Andy

>
>
> 2014-09-17 12:14 GMT+01:00 Ewa Szwed <ew...@gmail.com>:
>
>> Hi,
>>
>> I have run into problem with Fuseki server recently after I was doing my
>> Jena TDB update using your tdbupdate tool.
>>
>> During this update I was using tdbupdate heavily to both delete and insert
>> triples.
>>
>> I have deleted approx. 10 mil triples and added approx. 130 mil triples.
>>
>> The Fuseki was switched of during this update and then I turned it on and
>> notice that for some of my queries it is returning the following error:
>>
>> Error 500: RecordRangeIterator: records not strictly increasing: 00000000000000ff000000006a5a0c9300000000590a2798 // 00000000000000ff000000006a5a0c930000000059001dfa
>>
>>
>> Fuseki - version 1.0.1-SNAPSHOT (Build date: 2013-11-05T23:14:05+0000)
>>
>>
>> Query example:
>>
>> prefix fb: <http://rdf.freebase.com/ns/>
>> prefix fn: <http://www.w3.org/2005/xpath-functions#>
>> select ?mID ?scientific_name ?entity
>> where {
>> {
>> ?mID_raw fb:type.object.type fb:biology.organism_classification .
>> ?mID_raw fb:type.object.name ?entity .
>> ?mID_raw fb:biology.organism_classification.scientific_name ?scientific_name.
>> FILTER (lang(?entity) = "en" && lang(?scientific_name) = "en").
>> }
>> BIND(REPLACE(str(?mID_raw), "http://rdf.freebase.com/ns/", "") as ?mID)
>> }
>>
>> order by ?mID
>>
>>
>> Before the update this query was working just fine.
>>
>> Is this a bug in tdbupdate or in Fuseki? Please advise the solution.
>>
>> Many thanks,
>>
>> Ewa Szwed
>>
>>
>>
>


Re: RecordRangeIterator: records not strictly increasing - Error in FUSEKI

Posted by Ewa Szwed <ew...@gmail.com>.
Hi,
I have tried to update with the current version from the website and this
is what I see:
Exception in thread "main" java.lang.UnsupportedClassVersionError:
org/apache/jena/fuseki/FusekiCmd : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: org.apache.jena.fuseki.FusekiCmd. Program
will exit.
Is this an issue on your side?


2014-09-17 12:14 GMT+01:00 Ewa Szwed <ew...@gmail.com>:

> Hi,
>
> I have run into problem with Fuseki server recently after I was doing my
> Jena TDB update using your tdbupdate tool.
>
> During this update I was using tdbupdate heavily to both delete and insert
> triples.
>
> I have deleted approx. 10 mil triples and added approx. 130 mil triples.
>
> The Fuseki was switched of during this update and then I turned it on and
> notice that for some of my queries it is returning the following error:
>
> Error 500: RecordRangeIterator: records not strictly increasing: 00000000000000ff000000006a5a0c9300000000590a2798 // 00000000000000ff000000006a5a0c930000000059001dfa
>
>
> Fuseki - version 1.0.1-SNAPSHOT (Build date: 2013-11-05T23:14:05+0000)
>
>
> Query example:
>
> prefix fb: <http://rdf.freebase.com/ns/>
> prefix fn: <http://www.w3.org/2005/xpath-functions#>
> select ?mID ?scientific_name ?entity
> where {
> {
> ?mID_raw fb:type.object.type fb:biology.organism_classification .
> ?mID_raw fb:type.object.name ?entity .
> ?mID_raw fb:biology.organism_classification.scientific_name ?scientific_name.
> FILTER (lang(?entity) = "en" && lang(?scientific_name) = "en").
> }
> BIND(REPLACE(str(?mID_raw), "http://rdf.freebase.com/ns/", "") as ?mID)
> }
>
> order by ?mID
>
>
> Before the update this query was working just fine.
>
> Is this a bug in tdbupdate or in Fuseki? Please advise the solution.
>
> Many thanks,
>
> Ewa Szwed
>
>
>