Uploaded image for project: 'Blazegraph (by SYSTAP)'
  1. Blazegraph (by SYSTAP)
  2. BLZG-1008

Property path errors in scale-out deployment

    Details

      Description

      Property paths produce errors in scale-out (the test suite was not being run...).

      It appears that the sub-query is not marked as running on the query controller.

      org.openrdf.query.QueryEvaluationException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: The top-level of a query must be evaluated on the query controller: query=com.bigdata.bop.join.PipelineJoin[12]()[ BOp.bopId=12, JoinAnnotations.constraints=null, AST2BOpBase.simpleJoin=true, BOp.evaluationContext=SHARDED, AccessPathJoinAnnotations.predicate=com.bigdata.rdf.spo.SPOPredicate[10](-tVarLeft-c6985a12-c986-47d8-b57c-be317e23e56a=null, Vocab(10)[http://www.w3.org/1999/02/22-rdf-syntax-ns#rest], -tVarRight-5f9099f1-2bc5-4dc9-842a-9101f6170322=null, TermId(-9223372036854775808U)[file:/tmp/sparql-1.1-evaluation4947/testcases-sparql-1.1/property-paths/data-10.ttl][var=--anon-11])[ IPredicate.relationName=[SPARQLTest_1002958f-8b45-4487-9dc2-4ee5685bb44e.spo], IPredicate.timestamp=-1, BOp.bopId=10, AST2BOpBase.estimatedCardinality=5, AST2BOpBase.originalIndex=POCS, IPredicate.flags=[KEYS,VALS,READONLY,PARALLEL], IPredicate.remoteAccessPath=false, IPredicate.accessPathFilter=com.bigdata.bop.rdf.filter.StripContextFilter()]]
      	at com.bigdata.rdf.sail.Bigdata2Sesame2BindingSetIterator.hasNext(Bigdata2Sesame2BindingSetIterator.java:188)
      	at org.openrdf.query.impl.TupleQueryResultImpl.hasNext(TupleQueryResultImpl.java:90)
      	at info.aduna.iteration.Iterations.addAll(Iterations.java:71)
      	at org.openrdf.query.impl.MutableTupleQueryResult.<init>(MutableTupleQueryResult.java:86)
      	at org.openrdf.query.impl.MutableTupleQueryResult.<init>(MutableTupleQueryResult.java:92)
      	at org.openrdf.query.parser.sparql.SPARQLQueryTest.compareTupleQueryResults(SPARQLQueryTest.java:244)
      	at org.openrdf.query.parser.sparql.SPARQLASTQueryTest.runTest(SPARQLASTQueryTest.java:196)
      	at com.bigdata.rdf.sail.tck.BigdataFederationSparqlTest.runTest(BigdataFederationSparqlTest.java:202)
      	at junit.framework.TestCase.runBare(TestCase.java:127)
      	at junit.framework.TestResult$1.protect(TestResult.java:106)
      	at junit.framework.TestResult.runProtected(TestResult.java:124)
      	at junit.framework.TestResult.run(TestResult.java:109)
      	at junit.framework.TestCase.run(TestCase.java:118)
      	at junit.framework.TestSuite.runTest(TestSuite.java:208)
      	at junit.framework.TestSuite.run(TestSuite.java:203)
      	at junit.framework.TestSuite.runTest(TestSuite.java:208)
      	at junit.framework.TestSuite.run(TestSuite.java:203)
      	at junit.framework.TestSuite.runTest(TestSuite.java:208)
      	at junit.framework.TestSuite.run(TestSuite.java:203)
      	at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:131)
      	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
      	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
      	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
      	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
      Caused by: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: The top-level of a query must be evaluated on the query controller: query=com.bigdata.bop.join.PipelineJoin[12]()[ BOp.bopId=12, JoinAnnotations.constraints=null, AST2BOpBase.simpleJoin=true, BOp.evaluationContext=SHARDED, AccessPathJoinAnnotations.predicate=com.bigdata.rdf.spo.SPOPredicate[10](-tVarLeft-c6985a12-c986-47d8-b57c-be317e23e56a=null, Vocab(10)[http://www.w3.org/1999/02/22-rdf-syntax-ns#rest], -tVarRight-5f9099f1-2bc5-4dc9-842a-9101f6170322=null, TermId(-9223372036854775808U)[file:/tmp/sparql-1.1-evaluation4947/testcases-sparql-1.1/property-paths/data-10.ttl][var=--anon-11])[ IPredicate.relationName=[SPARQLTest_1002958f-8b45-4487-9dc2-4ee5685bb44e.spo], IPredicate.timestamp=-1, BOp.bopId=10, AST2BOpBase.estimatedCardinality=5, AST2BOpBase.originalIndex=POCS, IPredicate.flags=[KEYS,VALS,READONLY,PARALLEL], IPredicate.remoteAccessPath=false, IPredicate.accessPathFilter=com.bigdata.bop.rdf.filter.StripContextFilter()]]
      	at com.bigdata.relation.accesspath.BlockingBuffer$BlockingIterator.checkFuture(BlockingBuffer.java:1523)
      	at com.bigdata.relation.accesspath.BlockingBuffer$BlockingIterator._hasNext(BlockingBuffer.java:1710)
      	at com.bigdata.relation.accesspath.BlockingBuffer$BlockingIterator.hasNext(BlockingBuffer.java:1563)
      	at com.bigdata.striterator.AbstractChunkedResolverator._hasNext(AbstractChunkedResolverator.java:365)
      	at com.bigdata.striterator.AbstractChunkedResolverator.hasNext(AbstractChunkedResolverator.java:341)
      	at com.bigdata.rdf.sail.Bigdata2Sesame2BindingSetIterator.hasNext(Bigdata2Sesame2BindingSetIterator.java:134)
      	... 24 more
      Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: The top-level of a query must be evaluated on the query controller: query=com.bigdata.bop.join.PipelineJoin[12]()[ BOp.bopId=12, JoinAnnotations.constraints=null, AST2BOpBase.simpleJoin=true, BOp.evaluationContext=SHARDED, AccessPathJoinAnnotations.predicate=com.bigdata.rdf.spo.SPOPredicate[10](-tVarLeft-c6985a12-c986-47d8-b57c-be317e23e56a=null, Vocab(10)[http://www.w3.org/1999/02/22-rdf-syntax-ns#rest], -tVarRight-5f9099f1-2bc5-4dc9-842a-9101f6170322=null, TermId(-9223372036854775808U)[file:/tmp/sparql-1.1-evaluation4947/testcases-sparql-1.1/property-paths/data-10.ttl][var=--anon-11])[ IPredicate.relationName=[SPARQLTest_1002958f-8b45-4487-9dc2-4ee5685bb44e.spo], IPredicate.timestamp=-1, BOp.bopId=10, AST2BOpBase.estimatedCardinality=5, AST2BOpBase.originalIndex=POCS, IPredicate.flags=[KEYS,VALS,READONLY,PARALLEL], IPredicate.remoteAccessPath=false, IPredicate.accessPathFilter=com.bigdata.bop.rdf.filter.StripContextFilter()]]
      	at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)
      	at java.util.concurrent.FutureTask.get(FutureTask.java:111)
      	at com.bigdata.relation.accesspath.BlockingBuffer$BlockingIterator.checkFuture(BlockingBuffer.java:1454)
      	... 29 more
      Caused by: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: The top-level of a query must be evaluated on the query controller: query=com.bigdata.bop.join.PipelineJoin[12]()[ BOp.bopId=12, JoinAnnotations.constraints=null, AST2BOpBase.simpleJoin=true, BOp.evaluationContext=SHARDED, AccessPathJoinAnnotations.predicate=com.bigdata.rdf.spo.SPOPredicate[10](-tVarLeft-c6985a12-c986-47d8-b57c-be317e23e56a=null, Vocab(10)[http://www.w3.org/1999/02/22-rdf-syntax-ns#rest], -tVarRight-5f9099f1-2bc5-4dc9-842a-9101f6170322=null, TermId(-9223372036854775808U)[file:/tmp/sparql-1.1-evaluation4947/testcases-sparql-1.1/property-paths/data-10.ttl][var=--anon-11])[ IPredicate.relationName=[SPARQLTest_1002958f-8b45-4487-9dc2-4ee5685bb44e.spo], IPredicate.timestamp=-1, BOp.bopId=10, AST2BOpBase.estimatedCardinality=5, AST2BOpBase.originalIndex=POCS, IPredicate.flags=[KEYS,VALS,READONLY,PARALLEL], IPredicate.remoteAccessPath=false, IPredicate.accessPathFilter=com.bigdata.bop.rdf.filter.StripContextFilter()]]
      	at com.bigdata.rdf.sail.RunningQueryCloseableIterator.checkFuture(RunningQueryCloseableIterator.java:59)
      	at com.bigdata.rdf.sail.RunningQueryCloseableIterator.close(RunningQueryCloseableIterator.java:73)
      	at com.bigdata.rdf.sail.RunningQueryCloseableIterator.hasNext(RunningQueryCloseableIterator.java:82)
      	at com.bigdata.striterator.ChunkedWrappedIterator.hasNext(ChunkedWrappedIterator.java:197)
      	at com.bigdata.striterator.AbstractChunkedResolverator$ChunkConsumerTask.call(AbstractChunkedResolverator.java:222)
      	at com.bigdata.striterator.AbstractChunkedResolverator$ChunkConsumerTask.call(AbstractChunkedResolverator.java:1)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:724)
      Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: The top-level of a query must be evaluated on the query controller: query=com.bigdata.bop.join.PipelineJoin[12]()[ BOp.bopId=12, JoinAnnotations.constraints=null, AST2BOpBase.simpleJoin=true, BOp.evaluationContext=SHARDED, AccessPathJoinAnnotations.predicate=com.bigdata.rdf.spo.SPOPredicate[10](-tVarLeft-c6985a12-c986-47d8-b57c-be317e23e56a=null, Vocab(10)[http://www.w3.org/1999/02/22-rdf-syntax-ns#rest], -tVarRight-5f9099f1-2bc5-4dc9-842a-9101f6170322=null, TermId(-9223372036854775808U)[file:/tmp/sparql-1.1-evaluation4947/testcases-sparql-1.1/property-paths/data-10.ttl][var=--anon-11])[ IPredicate.relationName=[SPARQLTest_1002958f-8b45-4487-9dc2-4ee5685bb44e.spo], IPredicate.timestamp=-1, BOp.bopId=10, AST2BOpBase.estimatedCardinality=5, AST2BOpBase.originalIndex=POCS, IPredicate.flags=[KEYS,VALS,READONLY,PARALLEL], IPredicate.remoteAccessPath=false, IPredicate.accessPathFilter=com.bigdata.bop.rdf.filter.StripContextFilter()]]
      	at com.bigdata.util.concurrent.Haltable.get(Haltable.java:273)
      	at com.bigdata.bop.engine.AbstractRunningQuery.get(AbstractRunningQuery.java:1477)
      	at com.bigdata.bop.engine.AbstractRunningQuery.get(AbstractRunningQuery.java:1)
      	at com.bigdata.rdf.sail.RunningQueryCloseableIterator.checkFuture(RunningQueryCloseableIterator.java:46)
      	... 10 more
      Caused by: java.lang.RuntimeException: The top-level of a query must be evaluated on the query controller: query=com.bigdata.bop.join.PipelineJoin[12]()[ BOp.bopId=12, JoinAnnotations.constraints=null, AST2BOpBase.simpleJoin=true, BOp.evaluationContext=SHARDED, AccessPathJoinAnnotations.predicate=com.bigdata.rdf.spo.SPOPredicate[10](-tVarLeft-c6985a12-c986-47d8-b57c-be317e23e56a=null, Vocab(10)[http://www.w3.org/1999/02/22-rdf-syntax-ns#rest], -tVarRight-5f9099f1-2bc5-4dc9-842a-9101f6170322=null, TermId(-9223372036854775808U)[file:/tmp/sparql-1.1-evaluation4947/testcases-sparql-1.1/property-paths/data-10.ttl][var=--anon-11])[ IPredicate.relationName=[SPARQLTest_1002958f-8b45-4487-9dc2-4ee5685bb44e.spo], IPredicate.timestamp=-1, BOp.bopId=10, AST2BOpBase.estimatedCardinality=5, AST2BOpBase.originalIndex=POCS, IPredicate.flags=[KEYS,VALS,READONLY,PARALLEL], IPredicate.remoteAccessPath=false, IPredicate.accessPathFilter=com.bigdata.bop.rdf.filter.StripContextFilter()]]
      	at com.bigdata.bop.fed.FederatedRunningQuery.<init>(FederatedRunningQuery.java:193)
      	at com.bigdata.bop.fed.FederatedQueryEngine.newRunningQuery(FederatedQueryEngine.java:748)
      	at com.bigdata.bop.fed.FederatedQueryEngine.newRunningQuery(FederatedQueryEngine.java:1)
      	at com.bigdata.bop.engine.QueryEngine.startEval(QueryEngine.java:1614)
      	at com.bigdata.bop.engine.QueryEngine.eval(QueryEngine.java:1564)
      	at com.bigdata.bop.engine.QueryEngine.eval(QueryEngine.java:1470)
      	at com.bigdata.bop.engine.QueryEngine.eval(QueryEngine.java:1447)
      	at com.bigdata.bop.paths.ArbitraryLengthPathOp$ArbitraryLengthPathTask.processChunk(ArbitraryLengthPathOp.java:457)
      	at com.bigdata.bop.paths.ArbitraryLengthPathOp$ArbitraryLengthPathTask.call(ArbitraryLengthPathOp.java:270)
      	at com.bigdata.bop.paths.ArbitraryLengthPathOp$ArbitraryLengthPathTask.call(ArbitraryLengthPathOp.java:1)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      	at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkTask.call(ChunkedRunningQuery.java:1314)
      	at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkTaskWrapper.run(ChunkedRunningQuery.java:894)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      	at com.bigdata.concurrent.FutureTaskMon.run(FutureTaskMon.java:63)
      	at com.bigdata.bop.engine.ChunkedRunningQuery$ChunkFutureTask.run(ChunkedRunningQuery.java:789)
      	... 3 more
      

        Activity

        beebs Brad Bebee created issue -
        beebs Brad Bebee made changes -
        Field Original Value New Value
        Workflow Trac Import v2 [ 12844 ] Trac Import v3 [ 14341 ]
        beebs Brad Bebee made changes -
        Workflow Trac Import v3 [ 14341 ] Trac Import v4 [ 15670 ]
        beebs Brad Bebee made changes -
        Workflow Trac Import v4 [ 15670 ] Trac Import v5 [ 17056 ]
        beebs Brad Bebee made changes -
        Labels Issue_patch_20150625
        beebs Brad Bebee made changes -
        Status Closed - Won't Fix [ 6 ] Open [ 1 ]
        beebs Brad Bebee made changes -
        Status Open [ 1 ] Accepted [ 10101 ]
        beebs Brad Bebee made changes -
        Status Accepted [ 10101 ] In Progress [ 3 ]
        beebs Brad Bebee made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        beebs Brad Bebee made changes -
        Status Resolved [ 5 ] In Review [ 10100 ]
        beebs Brad Bebee made changes -
        Resolution Won't Fix [ 2 ] Done [ 10000 ]
        Status In Review [ 10100 ] Done [ 10000 ]
        beebs Brad Bebee made changes -
        Workflow Trac Import v5 [ 17056 ] Trac Import v6 [ 18239 ]
        beebs Brad Bebee made changes -
        Workflow Trac Import v6 [ 18239 ] Trac Import v7 [ 19636 ]
        beebs Brad Bebee made changes -
        Workflow Trac Import v7 [ 19636 ] Trac Import v8 [ 21258 ]

          People

          • Assignee:
            mrpersonick mrpersonick
            Reporter:
            bryanthompson bryanthompson
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: