[jira] [Commented] (JENA-244) Deadlock during SPARQL execution on an inference model

2012-12-06 Thread Stephen Owens (JIRA)

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

Stephen Owens commented on JENA-244:


Found a way that the work around is not safe. I had ended up doing a 
pre-emptive prepare and all was well for a while, as long as you don't need to 
trigger a new dynamic prepare in a multi-threaded use case. It turns out 
however that removing anything from the model triggers the need for the prepare 
and my 'static' model wasn't perfectly static. Back to occasional deadlocks. 

I've tried this in 2.7.4 and it is still a current issue, reviewing the code 
further and I'll post back if I find something. 

> Deadlock during SPARQL execution on an inference model
> --
>
> Key: JENA-244
> URL: https://issues.apache.org/jira/browse/JENA-244
> Project: Apache Jena
>  Issue Type: Bug
>  Components: Jena
>Reporter: Stephen Owens
> Attachments: JenaDeadLockTest.java, JenaDeadLockTest.java
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (JENA-361) Printing queries restarts the bNode labels inside subqueries.

2012-12-06 Thread Andy Seaborne (JIRA)

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

Andy Seaborne commented on JENA-361:


The nested call to format a sub-query is now done passing in the context, and 
hence current bNode map, of the overall print operation.

> Printing queries restarts the bNode labels inside subqueries.
> -
>
> Key: JENA-361
> URL: https://issues.apache.org/jira/browse/JENA-361
> Project: Apache Jena
>  Issue Type: Bug
>  Components: ARQ
>Affects Versions: Jena 2.7.4, ARQ 2.9.4
>Reporter: Andy Seaborne
>Assignee: Andy Seaborne
>Priority: Minor
>
> Examples:
> SELECT  *
>   {  
> { SELECT  * { ?s1 ?p1 _:b0 } }
> { SELECT  * { ?s1 ?p1 _:b1 } }
>   }
> SELECT  *
>   {  
> { SELECT  * { ?s1 ?p1 _:b0 } }
> ?s1 ?p1 _:b1
>   }
> Both the _:b1 become _:b0 when read in and printed out.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (JENA-361) Printing queries restarts the bNode labels inside subqueries.

2012-12-06 Thread Andy Seaborne (JIRA)

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

Andy Seaborne resolved JENA-361.


   Resolution: Fixed
Fix Version/s: Jena 2.10.0

> Printing queries restarts the bNode labels inside subqueries.
> -
>
> Key: JENA-361
> URL: https://issues.apache.org/jira/browse/JENA-361
> Project: Apache Jena
>  Issue Type: Bug
>  Components: ARQ
>Affects Versions: Jena 2.7.4, ARQ 2.9.4
>Reporter: Andy Seaborne
>Assignee: Andy Seaborne
>Priority: Minor
> Fix For: Jena 2.10.0
>
>
> Examples:
> SELECT  *
>   {  
> { SELECT  * { ?s1 ?p1 _:b0 } }
> { SELECT  * { ?s1 ?p1 _:b1 } }
>   }
> SELECT  *
>   {  
> { SELECT  * { ?s1 ?p1 _:b0 } }
> ?s1 ?p1 _:b1
>   }
> Both the _:b1 become _:b0 when read in and printed out.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Closed] (JENA-361) Printing queries restarts the bNode labels inside subqueries.

2012-12-06 Thread Andy Seaborne (JIRA)

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

Andy Seaborne closed JENA-361.
--


> Printing queries restarts the bNode labels inside subqueries.
> -
>
> Key: JENA-361
> URL: https://issues.apache.org/jira/browse/JENA-361
> Project: Apache Jena
>  Issue Type: Bug
>  Components: ARQ
>Affects Versions: Jena 2.7.4, ARQ 2.9.4
>Reporter: Andy Seaborne
>Assignee: Andy Seaborne
>Priority: Minor
> Fix For: Jena 2.10.0
>
>
> Examples:
> SELECT  *
>   {  
> { SELECT  * { ?s1 ?p1 _:b0 } }
> { SELECT  * { ?s1 ?p1 _:b1 } }
>   }
> SELECT  *
>   {  
> { SELECT  * { ?s1 ?p1 _:b0 } }
> ?s1 ?p1 _:b1
>   }
> Both the _:b1 become _:b0 when read in and printed out.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (JENA-361) Printing queries restarts the bNode labels inside subqueries.

2012-12-06 Thread Hudson (JIRA)

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

Hudson commented on JENA-361:
-

Integrated in Jena__Development_Test #316 (See 
[https://builds.apache.org/job/Jena__Development_Test/316/])
JENA-361 - Printing subqueries was not based on the same print context 
leading to mis-reuse of bNode labels. (Revision 1418026)

 Result = SUCCESS
andy : 
Files : 
* 
/jena/trunk/jena-arq/src/main/java/com/hp/hpl/jena/sparql/serializer/FormatterBase.java
* 
/jena/trunk/jena-arq/src/main/java/com/hp/hpl/jena/sparql/serializer/FormatterElement.java
* 
/jena/trunk/jena-arq/src/main/java/com/hp/hpl/jena/sparql/serializer/QuerySerializer.java
* 
/jena/trunk/jena-arq/src/main/java/com/hp/hpl/jena/sparql/serializer/Serializer.java


> Printing queries restarts the bNode labels inside subqueries.
> -
>
> Key: JENA-361
> URL: https://issues.apache.org/jira/browse/JENA-361
> Project: Apache Jena
>  Issue Type: Bug
>  Components: ARQ
>Affects Versions: Jena 2.7.4, ARQ 2.9.4
>Reporter: Andy Seaborne
>Assignee: Andy Seaborne
>Priority: Minor
>
> Examples:
> SELECT  *
>   {  
> { SELECT  * { ?s1 ?p1 _:b0 } }
> { SELECT  * { ?s1 ?p1 _:b1 } }
>   }
> SELECT  *
>   {  
> { SELECT  * { ?s1 ?p1 _:b0 } }
> ?s1 ?p1 _:b1
>   }
> Both the _:b1 become _:b0 when read in and printed out.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (JENA-361) Printing queries restarts the bNode labels inside subqueries.

2012-12-06 Thread Andy Seaborne (JIRA)
Andy Seaborne created JENA-361:
--

 Summary: Printing queries restarts the bNode labels inside 
subqueries.
 Key: JENA-361
 URL: https://issues.apache.org/jira/browse/JENA-361
 Project: Apache Jena
  Issue Type: Bug
  Components: ARQ
Affects Versions: ARQ 2.9.4, Jena 2.7.4
Reporter: Andy Seaborne
Assignee: Andy Seaborne
Priority: Minor


Examples:

SELECT  *
  {  
{ SELECT  * { ?s1 ?p1 _:b0 } }
{ SELECT  * { ?s1 ?p1 _:b1 } }
  }

SELECT  *
  {  
{ SELECT  * { ?s1 ?p1 _:b0 } }
?s1 ?p1 _:b1
  }

Both the _:b1 become _:b0 when read in and printed out.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira