[jira] [Commented] (JENA-1815) Join strategy/VarFinder: deal with assigned variables (AS) differently to pattern defined variables.

2020-02-25 Thread Ken Treimann (Jira)


[ 
https://issues.apache.org/jira/browse/JENA-1815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17045006#comment-17045006
 ] 

Ken Treimann commented on JENA-1815:


Could this possibly be added to 3.14.1?

> Join strategy/VarFinder: deal with assigned variables (AS) differently to 
> pattern defined variables.
> 
>
> Key: JENA-1815
> URL: https://issues.apache.org/jira/browse/JENA-1815
> Project: Apache Jena
>  Issue Type: Improvement
>Affects Versions: Jena 3.13.1, Jena 3.14.0
>Reporter: Andy Seaborne
>Assignee: Andy Seaborne
>Priority: Major
>
> The {{VarFinder}} treats assigned variables ({{AS ?var}}) in the same way as 
> variables set by pattern. In the sense that these two forms both set 
> variables, this is correct but "AS variables" can not be substituted for. At 
> the moment join classification says that a join is not "linear" (i.e. 
> {{sequence}} can be used) when assignment is encountered.
> By classifying variables into substituable and non-substitutable, it should 
> be possible to do a better job of optimization choices of the join strategy.
> This is motivated by JENA-1813.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (JENA-1849) Website Download not functioning

2020-02-25 Thread Andy Seaborne (Jira)


[ 
https://issues.apache.org/jira/browse/JENA-1849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17044733#comment-17044733
 ] 

Andy Seaborne commented on JENA-1849:
-

Seems to be working now.


> Website Download not functioning
> 
>
> Key: JENA-1849
> URL: https://issues.apache.org/jira/browse/JENA-1849
> Project: Apache Jena
>  Issue Type: Bug
>Reporter: Andreas Plank
>Priority: Critical
> Attachments: Screenshot_20200225_134130_apache_jena_download.png
>
>
> The web site [https://jena.apache.org/download/index.cgi] is not functioning 
> properly (see screenshot)
> !Screenshot_20200225_134130_apache_jena_download.png!
> 
> I did not know where else to report it. Thanks for repairing the issue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (JENA-1846) Add CORS to Fuseki main

2020-02-25 Thread Andy Seaborne (Jira)


 [ 
https://issues.apache.org/jira/browse/JENA-1846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andy Seaborne resolved JENA-1846.
-
Fix Version/s: Jena 3.15.0
 Assignee: Andy Seaborne
   Resolution: Done

> Add CORS to Fuseki main
> ---
>
> Key: JENA-1846
> URL: https://issues.apache.org/jira/browse/JENA-1846
> Project: Apache Jena
>  Issue Type: Improvement
>  Components: Fuseki
>Affects Versions: Jena 3.14.0
>Reporter: Andy Seaborne
>Assignee: Andy Seaborne
>Priority: Major
> Fix For: Jena 3.15.0
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> [Report on 
> users@|https://lists.apache.org/thread.html/rd99fbd1119ba5a657e89ef949c807567a338450d1212faee2bcf7c93%40%3Cusers.jena.apache.org%3E].



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (JENA-1846) Add CORS to Fuseki main

2020-02-25 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/JENA-1846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17044497#comment-17044497
 ] 

ASF subversion and git services commented on JENA-1846:
---

Commit db0f1485638434f5650a823aadd7f2a5a5612c57 in jena's branch 
refs/heads/master from Andy Seaborne
[ https://gitbox.apache.org/repos/asf?p=jena.git;h=db0f148 ]

Merge pull request #698 from afs/jena1846-cors

JENA-1846: Add basic CORS support

> Add CORS to Fuseki main
> ---
>
> Key: JENA-1846
> URL: https://issues.apache.org/jira/browse/JENA-1846
> Project: Apache Jena
>  Issue Type: Improvement
>  Components: Fuseki
>Affects Versions: Jena 3.14.0
>Reporter: Andy Seaborne
>Priority: Major
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> [Report on 
> users@|https://lists.apache.org/thread.html/rd99fbd1119ba5a657e89ef949c807567a338450d1212faee2bcf7c93%40%3Cusers.jena.apache.org%3E].



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (JENA-1846) Add CORS to Fuseki main

2020-02-25 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/JENA-1846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17044496#comment-17044496
 ] 

ASF subversion and git services commented on JENA-1846:
---

Commit 65fea57fa34b7f38307a99835ef26918eff4c0d4 in jena's branch 
refs/heads/master from Andy Seaborne
[ https://gitbox.apache.org/repos/asf?p=jena.git;h=65fea57 ]

JENA-1846: Add basic CORS support


> Add CORS to Fuseki main
> ---
>
> Key: JENA-1846
> URL: https://issues.apache.org/jira/browse/JENA-1846
> Project: Apache Jena
>  Issue Type: Improvement
>  Components: Fuseki
>Affects Versions: Jena 3.14.0
>Reporter: Andy Seaborne
>Priority: Major
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> [Report on 
> users@|https://lists.apache.org/thread.html/rd99fbd1119ba5a657e89ef949c807567a338450d1212faee2bcf7c93%40%3Cusers.jena.apache.org%3E].



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (JENA-1758) Exception when preparing InfModel after TDB loading operation

2020-02-25 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/JENA-1758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17044491#comment-17044491
 ] 

ASF subversion and git services commented on JENA-1758:
---

Commit d2e23164a08082f3e2c52c43b99b0bf0e66dcc91 in jena's branch 
refs/heads/master from Andy Seaborne
[ https://gitbox.apache.org/repos/asf?p=jena.git;h=d2e2316 ]

JENA-1758: Use a semaphore to notify thread has finished


> Exception when preparing InfModel after TDB loading operation
> -
>
> Key: JENA-1758
> URL: https://issues.apache.org/jira/browse/JENA-1758
> Project: Apache Jena
>  Issue Type: Bug
>  Components: TDB2
>Affects Versions: Jena 3.12.0
>Reporter: Damien Obrist
>Assignee: Andy Seaborne
>Priority: Critical
> Fix For: Jena 3.13.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> h2. Exception
> I'm loading a few million triples into a TDB2 dataset. I'm using a custom 
> loader (extending {{LoaderMain}}), since the triples being loaded are 
> generated by a separate application and streamed in over HTTP.
> After the loading is done, I try to reset an {{InfModel}} to recompute the 
> inference taking into account the new triples, but I encounter the following 
> exception:
> {noformat}
> org.apache.jena.atlas.RuntimeIOException: Out of bounds: (limit 
> 32834204)32834205
>   at org.apache.jena.atlas.io.IO.exception(IO.java:254)
>   at 
> org.apache.jena.dboe.trans.data.TransBinaryDataFile.checkRead(TransBinaryDataFile.java:190)
>   at 
> org.apache.jena.dboe.trans.data.TransBinaryDataFile.read(TransBinaryDataFile.java:184)
>   at 
> org.apache.jena.tdb2.store.nodetable.TReadAppendFileTransport.read(TReadAppendFileTransport.java:71)
>   at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)
>   at 
> org.apache.thrift.protocol.TCompactProtocol.readByte(TCompactProtocol.java:637)
>   at 
> org.apache.thrift.protocol.TCompactProtocol.readFieldBegin(TCompactProtocol.java:543)
>   at 
> org.apache.jena.riot.thrift.wire.RDF_IRI$RDF_IRIStandardScheme.read(RDF_IRI.java:318)
>   at 
> org.apache.jena.riot.thrift.wire.RDF_IRI$RDF_IRIStandardScheme.read(RDF_IRI.java:311)
>   at org.apache.jena.riot.thrift.wire.RDF_IRI.read(RDF_IRI.java:258)
>   at 
> org.apache.jena.riot.thrift.wire.RDF_Term.standardSchemeReadValue(RDF_Term.java:319)
>   at org.apache.thrift.TUnion$TUnionStandardScheme.read(TUnion.java:224)
>   at org.apache.thrift.TUnion$TUnionStandardScheme.read(TUnion.java:213)
>   at org.apache.thrift.TUnion.read(TUnion.java:138)
>   at 
> org.apache.jena.tdb2.store.nodetable.NodeTableTRDF.readNodeFromTable(NodeTableTRDF.java:80)
>   at 
> org.apache.jena.tdb2.store.nodetable.NodeTableNative._retrieveNodeByNodeId(NodeTableNative.java:103)
>   at 
> org.apache.jena.tdb2.store.nodetable.NodeTableNative.getNodeForNodeId(NodeTableNative.java:52)
>   at 
> org.apache.jena.tdb2.store.nodetable.NodeTableCache._retrieveNodeByNodeId(NodeTableCache.java:197)
>   at 
> org.apache.jena.tdb2.store.nodetable.NodeTableCache.getNodeForNodeId(NodeTableCache.java:108)
>   at 
> org.apache.jena.tdb2.store.nodetable.NodeTableWrapper.getNodeForNodeId(NodeTableWrapper.java:52)
>   at 
> org.apache.jena.tdb2.store.nodetable.NodeTableInline.getNodeForNodeId(NodeTableInline.java:66)
>   at org.apache.jena.tdb2.lib.TupleLib.quad(TupleLib.java:112)
>   at org.apache.jena.tdb2.lib.TupleLib.quad(TupleLib.java:108)
>   at 
> org.apache.jena.tdb2.lib.TupleLib.lambda$convertToQuads$3(TupleLib.java:53)
>   at org.apache.jena.atlas.iterator.Iter$2.next(Iter.java:270)
>   at 
> org.apache.jena.atlas.iterator.IteratorWrapper.next(IteratorWrapper.java:36)
>   at 
> org.apache.jena.tdb2.store.IteratorTxnTracker.next(IteratorTxnTracker.java:43)
>   at 
> java.util.Spliterators$IteratorSpliterator.tryAdvance(Spliterators.java:1812)
>   at 
> java.util.stream.StreamSpliterators$WrappingSpliterator.lambda$initPartialTraversalState$0(StreamSpliterators.java:294)
>   at 
> java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.fillBuffer(StreamSpliterators.java:206)
>   at 
> java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.doAdvance(StreamSpliterators.java:169)
>   at 
> java.util.stream.StreamSpliterators$WrappingSpliterator.tryAdvance(StreamSpliterators.java:300)
>   at java.util.Spliterators$1Adapter.hasNext(Spliterators.java:681)
>   at org.apache.jena.atlas.iterator.Iter$2.hasNext(Iter.java:265)
>   at org.apache.jena.atlas.iterator.Iter.hasNext(Iter.java:903)
>   at org.apache.jena.atlas.iterator.Iter$1.hasNext(Iter.java:192)
>   at 
> org.apache.jena.util.iterator.WrappedIterator.hasNext(Wra

[jira] [Commented] (JENA-1758) Exception when preparing InfModel after TDB loading operation

2020-02-25 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/JENA-1758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17044492#comment-17044492
 ] 

ASF subversion and git services commented on JENA-1758:
---

Commit 9a398d6a24541da107c16aa5dda347aad91caaad in jena's branch 
refs/heads/master from Andy Seaborne
[ https://gitbox.apache.org/repos/asf?p=jena.git;h=9a398d6 ]

Merge pull request #695 from afs/jena1758-semaphore

JENA-1758: Use a semaphore to notify thread has finished

> Exception when preparing InfModel after TDB loading operation
> -
>
> Key: JENA-1758
> URL: https://issues.apache.org/jira/browse/JENA-1758
> Project: Apache Jena
>  Issue Type: Bug
>  Components: TDB2
>Affects Versions: Jena 3.12.0
>Reporter: Damien Obrist
>Assignee: Andy Seaborne
>Priority: Critical
> Fix For: Jena 3.13.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> h2. Exception
> I'm loading a few million triples into a TDB2 dataset. I'm using a custom 
> loader (extending {{LoaderMain}}), since the triples being loaded are 
> generated by a separate application and streamed in over HTTP.
> After the loading is done, I try to reset an {{InfModel}} to recompute the 
> inference taking into account the new triples, but I encounter the following 
> exception:
> {noformat}
> org.apache.jena.atlas.RuntimeIOException: Out of bounds: (limit 
> 32834204)32834205
>   at org.apache.jena.atlas.io.IO.exception(IO.java:254)
>   at 
> org.apache.jena.dboe.trans.data.TransBinaryDataFile.checkRead(TransBinaryDataFile.java:190)
>   at 
> org.apache.jena.dboe.trans.data.TransBinaryDataFile.read(TransBinaryDataFile.java:184)
>   at 
> org.apache.jena.tdb2.store.nodetable.TReadAppendFileTransport.read(TReadAppendFileTransport.java:71)
>   at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)
>   at 
> org.apache.thrift.protocol.TCompactProtocol.readByte(TCompactProtocol.java:637)
>   at 
> org.apache.thrift.protocol.TCompactProtocol.readFieldBegin(TCompactProtocol.java:543)
>   at 
> org.apache.jena.riot.thrift.wire.RDF_IRI$RDF_IRIStandardScheme.read(RDF_IRI.java:318)
>   at 
> org.apache.jena.riot.thrift.wire.RDF_IRI$RDF_IRIStandardScheme.read(RDF_IRI.java:311)
>   at org.apache.jena.riot.thrift.wire.RDF_IRI.read(RDF_IRI.java:258)
>   at 
> org.apache.jena.riot.thrift.wire.RDF_Term.standardSchemeReadValue(RDF_Term.java:319)
>   at org.apache.thrift.TUnion$TUnionStandardScheme.read(TUnion.java:224)
>   at org.apache.thrift.TUnion$TUnionStandardScheme.read(TUnion.java:213)
>   at org.apache.thrift.TUnion.read(TUnion.java:138)
>   at 
> org.apache.jena.tdb2.store.nodetable.NodeTableTRDF.readNodeFromTable(NodeTableTRDF.java:80)
>   at 
> org.apache.jena.tdb2.store.nodetable.NodeTableNative._retrieveNodeByNodeId(NodeTableNative.java:103)
>   at 
> org.apache.jena.tdb2.store.nodetable.NodeTableNative.getNodeForNodeId(NodeTableNative.java:52)
>   at 
> org.apache.jena.tdb2.store.nodetable.NodeTableCache._retrieveNodeByNodeId(NodeTableCache.java:197)
>   at 
> org.apache.jena.tdb2.store.nodetable.NodeTableCache.getNodeForNodeId(NodeTableCache.java:108)
>   at 
> org.apache.jena.tdb2.store.nodetable.NodeTableWrapper.getNodeForNodeId(NodeTableWrapper.java:52)
>   at 
> org.apache.jena.tdb2.store.nodetable.NodeTableInline.getNodeForNodeId(NodeTableInline.java:66)
>   at org.apache.jena.tdb2.lib.TupleLib.quad(TupleLib.java:112)
>   at org.apache.jena.tdb2.lib.TupleLib.quad(TupleLib.java:108)
>   at 
> org.apache.jena.tdb2.lib.TupleLib.lambda$convertToQuads$3(TupleLib.java:53)
>   at org.apache.jena.atlas.iterator.Iter$2.next(Iter.java:270)
>   at 
> org.apache.jena.atlas.iterator.IteratorWrapper.next(IteratorWrapper.java:36)
>   at 
> org.apache.jena.tdb2.store.IteratorTxnTracker.next(IteratorTxnTracker.java:43)
>   at 
> java.util.Spliterators$IteratorSpliterator.tryAdvance(Spliterators.java:1812)
>   at 
> java.util.stream.StreamSpliterators$WrappingSpliterator.lambda$initPartialTraversalState$0(StreamSpliterators.java:294)
>   at 
> java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.fillBuffer(StreamSpliterators.java:206)
>   at 
> java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.doAdvance(StreamSpliterators.java:169)
>   at 
> java.util.stream.StreamSpliterators$WrappingSpliterator.tryAdvance(StreamSpliterators.java:300)
>   at java.util.Spliterators$1Adapter.hasNext(Spliterators.java:681)
>   at org.apache.jena.atlas.iterator.Iter$2.hasNext(Iter.java:265)
>   at org.apache.jena.atlas.iterator.Iter.hasNext(Iter.java:903)
>   at org.apache.jena.atlas.iterator.Iter$1.hasNext(Iter.java:192)
>   at 
> org.a

Re: [RESULT][VOTE] Move jena from cms/svn to hugo/git

2020-02-25 Thread Roy Lenferink
[1] has just been updated. Easiest way to move forward (after the jena-site 
repository has been
requested and created) is to clone [1], add the asf remote and push the 3 
different branches to the
asf remote.

The 3 branches explained:
- 'master' => website sources
- 'asf-site' => generated website
- 'release-docs' => javadoc documentation available on /documentation/javadoc/*

Let me know if help is needed!

[1] https://github.com/rlenferink/jena-site

On 2020/02/25 12:24:47, Roy Lenferink  wrote: 
> Hi,
> 
> The vote has passed with the following results:
> 
> +1 Bruno P. Kinoshita (binding)
> +1 Andy Seaborne (binding)
> +1 Adam Soroka (binding)
> +1 Rob Vesse (binding)
> +1 Chris Tomlinson (binding)
> +1 Roy Lenferink (non-binding)
> 
> No -1 votes have been cast.
> 
> To continue I'll need some help from a PMC member to request the jena-site 
> repository here [1]
> 
> Once requested I'll make sure to have the repository with the migrated 
> content up to date [2] after which a committer can push the branches to the 
> Apache remote. I need someone with commit 
> privileges to help initially because of branch creation, cleanup of SVN etc. 
> which requires having 
> commit rights to the repository (I'm willing to help out with this so let me 
> know when help is needed).
> 
> After having the site in place, I'll create a Jenkins job, test whether it 
> works and open a pull request
> against the infrastructure-puppet repository to make the actual switch from 
> svn to git.
> 
> Best,
> Roy
> 
> [1] https://gitbox.apache.org/setup/newrepo.html
> [2] https://github.com/rlenferink/jena-site
> 


[jira] [Commented] (JENA-1849) Website Download not functioning

2020-02-25 Thread Roy Lenferink (Jira)


[ 
https://issues.apache.org/jira/browse/JENA-1849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17044410#comment-17044410
 ] 

Roy Lenferink commented on JENA-1849:
-

Thanks for reporting. This seems like an ASF wide issue. Other projects (e.g. 
[http://celix.apache.org/download.cgi)] are experiencing the same.

> Website Download not functioning
> 
>
> Key: JENA-1849
> URL: https://issues.apache.org/jira/browse/JENA-1849
> Project: Apache Jena
>  Issue Type: Bug
>Reporter: Andreas Plank
>Priority: Critical
> Attachments: Screenshot_20200225_134130_apache_jena_download.png
>
>
> The web site [https://jena.apache.org/download/index.cgi] is not functioning 
> properly (see screenshot)
> !Screenshot_20200225_134130_apache_jena_download.png!
> 
> I did not know where else to report it. Thanks for repairing the issue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (JENA-1849) Website Download not functioning

2020-02-25 Thread Andreas Plank (Jira)
Andreas Plank created JENA-1849:
---

 Summary: Website Download not functioning
 Key: JENA-1849
 URL: https://issues.apache.org/jira/browse/JENA-1849
 Project: Apache Jena
  Issue Type: Bug
Reporter: Andreas Plank
 Attachments: Screenshot_20200225_134130_apache_jena_download.png

The web site [https://jena.apache.org/download/index.cgi] is not functioning 
properly (see screenshot)

!Screenshot_20200225_134130_apache_jena_download.png!

I did not know where else to report it. Thanks for repairing the issue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[RESULT][VOTE] Move jena from cms/svn to hugo/git

2020-02-25 Thread Roy Lenferink
Hi,

The vote has passed with the following results:

+1 Bruno P. Kinoshita (binding)
+1 Andy Seaborne (binding)
+1 Adam Soroka (binding)
+1 Rob Vesse (binding)
+1 Chris Tomlinson (binding)
+1 Roy Lenferink (non-binding)

No -1 votes have been cast.

To continue I'll need some help from a PMC member to request the jena-site 
repository here [1]

Once requested I'll make sure to have the repository with the migrated content 
up to date [2] after which a committer can push the branches to the Apache 
remote. I need someone with commit 
privileges to help initially because of branch creation, cleanup of SVN etc. 
which requires having 
commit rights to the repository (I'm willing to help out with this so let me 
know when help is needed).

After having the site in place, I'll create a Jenkins job, test whether it 
works and open a pull request
against the infrastructure-puppet repository to make the actual switch from svn 
to git.

Best,
Roy

[1] https://gitbox.apache.org/setup/newrepo.html
[2] https://github.com/rlenferink/jena-site


Re: [VOTE][LAZY] Move from CMS/SVN to Hugo/Git

2020-02-25 Thread Roy Lenferink
Adding my +1 as well before closing the vote

On 2020/02/24 09:47:27, Rob Vesse  wrote: 
> +1
> 
> Glad to see progress on this
> 
> Rob
>