Re: github mirror not sync'ing

2018-08-03 Thread Andy Seaborne




On 03/08/18 09:13, Andy Seaborne wrote:
The github mirror isn't being sync'ed from the ASF repo. It stopped in 
the last day or two.


INFRA ticket raised:
https://issues.apache.org/jira/browse/INFRA-16871

     Andy


Resolved.

And it is now possible for committers to trigger this via:

https://selfserve.apache.org/

(ignore the fact it says "gitbox" in URLs)


[jira] [Commented] (JENA-1581) BufferOverflowException in TDB1

2018-08-03 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on JENA-1581:
--

Github user asfgit closed the pull request at:

https://github.com/apache/jena/pull/453


> BufferOverflowException in TDB1
> ---
>
> Key: JENA-1581
> URL: https://issues.apache.org/jira/browse/JENA-1581
> Project: Apache Jena
>  Issue Type: Bug
>  Components: TDB
>Affects Versions: Jena 3.7.0, Jena 3.8.0
> Environment: Jena 3.8.0
>Reporter: Scott Patterson
>Assignee: Andy Seaborne
>Priority: Critical
> Fix For: Jena 3.9.0
>
>
> I can not add a small number of named graphs (~1000) to the TDB without 
> encountering a BufferOverflowException. I have a single thread that adds all 
> the graphs and I get lots of these exceptions with different named graphs 
> each time. Any thoughts?
> {noformat}
> Caused by: java.nio.BufferOverflowException
>  at java.nio.Buffer.nextPutIndex(Buffer.java:532)
>  at java.nio.HeapByteBuffer.put(HeapByteBuffer.java:169)
>  at org.apache.jena.atlas.io.BlockUTF8.fromCharsBuffer(BlockUTF8.java:172)
>  at org.apache.jena.atlas.io.BlockUTF8.fromChars(BlockUTF8.java:86)
>  at org.apache.jena.atlas.io.BlockUTF8.fromChars(BlockUTF8.java:230)
>  at org.apache.jena.tdb.store.nodetable.NodecSSE.encode(NodecSSE.java:89)
>  at org.apache.jena.tdb.lib.NodeLib.encodeStore(NodeLib.java:74)
>  at 
> org.apache.jena.tdb.store.nodetable.NodeTableNative.writeNodeToTable(NodeTableNative.java:175)
>  at 
> org.apache.jena.tdb.store.nodetable.NodeTableNative.accessIndex(NodeTableNative.java:152)
>  at 
> org.apache.jena.tdb.store.nodetable.NodeTableNative._idForNode(NodeTableNative.java:125)
>  at 
> org.apache.jena.tdb.store.nodetable.NodeTableNative.getAllocateNodeId(NodeTableNative.java:79)
>  at 
> org.apache.jena.tdb.store.nodetable.NodeTableCache._idForNode(NodeTableCache.java:152)
>  at 
> org.apache.jena.tdb.store.nodetable.NodeTableCache.getAllocateNodeId(NodeTableCache.java:91)
>  at 
> org.apache.jena.tdb.store.nodetable.NodeTableWrapper.getAllocateNodeId(NodeTableWrapper.java:40)
>  at 
> org.apache.jena.tdb.store.nodetable.NodeTableInline.getAllocateNodeId(NodeTableInline.java:51)
>  at 
> org.apache.jena.tdb.store.nodetupletable.NodeTupleTableConcrete.addRow(NodeTupleTableConcrete.java:85)
>  at org.apache.jena.tdb.store.QuadTable.add(QuadTable.java:60)
>  at 
> org.apache.jena.tdb.store.DatasetGraphTDB.addToNamedGraph(DatasetGraphTDB.java:97)
>  at 
> org.apache.jena.sparql.core.DatasetGraphTriplesQuads.add(DatasetGraphTriplesQuads.java:44)
>  at org.apache.jena.sparql.core.GraphView.performAdd(GraphView.java:152)
>  at 
> org.apache.jena.graph.GraphUtil$$Lambda$145.20B643F0.accept(Unknown 
> Source)
>  at java.util.ArrayList$Itr.forEachRemaining(ArrayList.java:910)
>  at 
> org.apache.jena.graph.GraphUtil.addIteratorWorkerDirect(GraphUtil.java:151)
>  at org.apache.jena.graph.GraphUtil.addIteratorWorker(GraphUtil.java:145)
>  at org.apache.jena.graph.GraphUtil.addInto(GraphUtil.java:139)
>  at 
> org.apache.jena.sparql.core.DatasetGraphTriplesQuads.addGraph(DatasetGraphTriplesQuads.java:80)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] jena pull request #453: JENA-1581: TDB1 Node Buffer Mgt.

2018-08-03 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/jena/pull/453


---


[jira] [Commented] (JENA-1583) BigDecimal literal created but not handled by Utils

2018-08-03 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on JENA-1583:
--

GitHub user afs opened a pull request:

https://github.com/apache/jena/pull/454

 JENA-1583: Rule system: Util.compare



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/afs/jena rule-util

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/jena/pull/454.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #454


commit 71acf2c534711527d4d4b0b55f9a584de492c791
Author: Andy Seaborne 
Date:   2018-08-03T14:42:10Z

JENA-1583: Rule system: Util.compare

commit 66b55319652c21597fac077f622b625c9407ea6b
Author: Andy Seaborne 
Date:   2018-08-03T15:34:19Z

Organize tests systematically




> BigDecimal literal created but not handled by Utils
> ---
>
> Key: JENA-1583
> URL: https://issues.apache.org/jira/browse/JENA-1583
> Project: Apache Jena
>  Issue Type: Bug
>  Components: Core
>Affects Versions: Jena 3.0.0
>Reporter: Andrew Crapo
>Priority: Major
>
> If a Literal of type xsd:decimal is created the value is a BigDecimal. 
> However, if such a Literal is passed into the com.ge.research.jena.Utils 
> compareTypedLiterals method, the value is only checked for Float and Double 
> so it defaults to being treated as Long, which can give erroneous results. I 
> checked the current code base on github.com and this appears to still be an 
> issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] jena pull request #454: JENA-1583: Rule system: Util.compare

2018-08-03 Thread afs
GitHub user afs opened a pull request:

https://github.com/apache/jena/pull/454

 JENA-1583: Rule system: Util.compare



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/afs/jena rule-util

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/jena/pull/454.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #454


commit 71acf2c534711527d4d4b0b55f9a584de492c791
Author: Andy Seaborne 
Date:   2018-08-03T14:42:10Z

JENA-1583: Rule system: Util.compare

commit 66b55319652c21597fac077f622b625c9407ea6b
Author: Andy Seaborne 
Date:   2018-08-03T15:34:19Z

Organize tests systematically




---


github mirror not sync'ing

2018-08-03 Thread Andy Seaborne
The github mirror isn't being sync'ed from the ASF repo. It stopped in 
the last day or two.


INFRA ticket raised:
https://issues.apache.org/jira/browse/INFRA-16871

Andy