From: Jean-Marc V. <jea...@gm...> - 2014-10-19 21:23:06
|
Jeremy, I actually did the 2 LOAD in 2 separated executions. But I have the feeling that the crash comes no matter what the content of the database. 2014-10-19 22:51 GMT+02:00 Jeremy J Carroll <jj...@sy...>: > I think I see several issues in this case (this is using 1.3.2 rather than > the current code base) > > - Jean-Marc should have separated the two load requests with a ; > - if using the nano sparql server and the web ui, 500 errors do not appear > to get reported, so the problem with the lack of a ; was not reported > properly > - the implementation of LOAD URL INTO GRAPH URI ignores the graph name > part and always loads into the default graph > - the optimizer crashes on > GRAPH URI { > ?s ?p ?o > } > where there are no triples in the graph … > > Stack trace for last part > > WARN : 1952073 qtp433857665-101 > org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:361): > /bigdata/namespace/ccc/sparql > java.lang.RuntimeException: java.util.concurrent.ExecutionException: > java.lang.RuntimeException: java.util.concurrent.ExecutionException: > java.lang.RuntimeException: java.util.concurrent.ExecutionException: > java.lang.UnsupportedOperationException > at com.bigdata.rdf.sail.webapp.BigdataRDFServlet.launderThrowable( > BigdataRDFServlet.java:241) > at com.bigdata.rdf.sail.webapp.QueryServlet.doSparqlQuery( > QueryServlet.java:645) > at com.bigdata.rdf.sail.webapp.QueryServlet.doPost(QueryServlet.java:191) > at com.bigdata.rdf.sail.webapp.RESTServlet.doPost(RESTServlet.java:237) > at com.bigdata.rdf.sail.webapp.MultiTenancyServlet.doPost( > MultiTenancyServlet.java:144) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) > at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:738) > at org.eclipse.jetty.servlet.ServletHandler.doHandle( > ServletHandler.java:551) > at org.eclipse.jetty.server.handler.ScopedHandler.handle( > ScopedHandler.java:143) > at org.eclipse.jetty.security.SecurityHandler.handle( > SecurityHandler.java:568) > at org.eclipse.jetty.server.session.SessionHandler.doHandle( > SessionHandler.java:221) > at org.eclipse.jetty.server.handler.ContextHandler.doHandle( > ContextHandler.java:1111) > at org.eclipse.jetty.servlet.ServletHandler.doScope( > ServletHandler.java:478) > at org.eclipse.jetty.server.session.SessionHandler.doScope( > SessionHandler.java:183) > at org.eclipse.jetty.server.handler.ContextHandler.doScope( > ContextHandler.java:1045) > at org.eclipse.jetty.server.handler.ScopedHandler.handle( > ScopedHandler.java:141) > at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle( > ContextHandlerCollection.java:199) > at org.eclipse.jetty.server.handler.HandlerCollection.handle( > HandlerCollection.java:109) > at org.eclipse.jetty.server.handler.HandlerWrapper.handle( > HandlerWrapper.java:97) > at org.eclipse.jetty.server.Server.handle(Server.java:462) > at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:279) > at org.eclipse.jetty.server.HttpConnection.onFillable( > HttpConnection.java:232) > at org.eclipse.jetty.io.AbstractConnection$2.run( > AbstractConnection.java:534) > at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob( > QueuedThreadPool.java:607) > at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run( > QueuedThreadPool.java:536) > at java.lang.Thread.run(Thread.java:722) > Caused by: java.util.concurrent.ExecutionException: > java.lang.RuntimeException: java.util.concurrent.ExecutionException: > java.lang.RuntimeException: java.util.concurrent.ExecutionException: > java.lang.UnsupportedOperationException > at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252) > at java.util.concurrent.FutureTask.get(FutureTask.java:111) > at com.bigdata.rdf.sail.webapp.QueryServlet.doSparqlQuery( > QueryServlet.java:639) > ... 25 more > Caused by: java.lang.RuntimeException: > java.util.concurrent.ExecutionException: java.lang.RuntimeException: > java.util.concurrent.ExecutionException: > java.lang.UnsupportedOperationException > at com.bigdata.rdf.sail.webapp.BigdataRDFServlet.launderThrowable( > BigdataRDFServlet.java:241) > at com.bigdata.rdf.sail.webapp.BigdataRDFContext$AbstractQueryTask.call( > BigdataRDFContext.java:1284) > at com.bigdata.rdf.sail.webapp.BigdataRDFContext$AbstractQueryTask.call( > BigdataRDFContext.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) > ... 1 more > Caused by: java.util.concurrent.ExecutionException: > java.lang.RuntimeException: java.util.concurrent.ExecutionException: > java.lang.UnsupportedOperationException > at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252) > at java.util.concurrent.FutureTask.get(FutureTask.java:111) > at com.bigdata.rdf.sail.webapp.BigdataRDFContext$AbstractQueryTask.call( > BigdataRDFContext.java:1279) > ... 6 more > Caused by: java.lang.RuntimeException: > java.util.concurrent.ExecutionException: > java.lang.UnsupportedOperationException > at > com.bigdata.rdf.sparql.ast.optimizers.ASTRangeCountOptimizer.attachRangeCounts( > ASTRangeCountOptimizer.java:140) > at > com.bigdata.rdf.sparql.ast.optimizers.ASTRangeCountOptimizer.optimizeJoinGroup( > ASTRangeCountOptimizer.java:77) > at > com.bigdata.rdf.sparql.ast.optimizers.AbstractJoinGroupOptimizer.optimize( > AbstractJoinGroupOptimizer.java:157) > at > com.bigdata.rdf.sparql.ast.optimizers.AbstractJoinGroupOptimizer.optimize( > AbstractJoinGroupOptimizer.java:97) > at com.bigdata.rdf.sparql.ast.optimizers.ASTOptimizerList.optimize( > ASTOptimizerList.java:104) > at com.bigdata.rdf.sparql.ast.eval.AST2BOpUtility.convert( > AST2BOpUtility.java:219) > at com.bigdata.rdf.sparql.ast.eval.ASTEvalHelper.evaluateTupleQuery( > ASTEvalHelper.java:238) > at com.bigdata.rdf.sail.BigdataSailTupleQuery.evaluate( > BigdataSailTupleQuery.java:93) > at com.bigdata.rdf.sail.BigdataSailTupleQuery.evaluate( > BigdataSailTupleQuery.java:75) > at org.openrdf.repository.sail.SailTupleQuery.evaluate( > SailTupleQuery.java:62) > at com.bigdata.rdf.sail.webapp.BigdataRDFContext$TupleQueryTask.doQuery( > BigdataRDFContext.java:1386) > at > com.bigdata.rdf.sail.webapp.BigdataRDFContext$AbstractQueryTask$SparqlRestApiTask.call( > BigdataRDFContext.java:1221) > at > com.bigdata.rdf.sail.webapp.BigdataRDFContext$AbstractQueryTask$SparqlRestApiTask.call( > BigdataRDFContext.java:1) > at com.bigdata.rdf.task.ApiTaskForIndexManager.call( > ApiTaskForIndexManager.java:67) > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) > at java.util.concurrent.FutureTask.run(FutureTask.java:166) > at com.bigdata.rdf.task.AbstractApiTask.submitApiTask( > AbstractApiTask.java:293) > at com.bigdata.rdf.sail.webapp.BigdataRDFContext$AbstractQueryTask.call( > BigdataRDFContext.java:1277) > ... 6 more > Caused by: java.util.concurrent.ExecutionException: > java.lang.UnsupportedOperationException > at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252) > at java.util.concurrent.FutureTask.get(FutureTask.java:111) > at > com.bigdata.rdf.sparql.ast.optimizers.ASTRangeCountOptimizer.attachRangeCounts( > ASTRangeCountOptimizer.java:124) > ... 23 more > Caused by: java.lang.UnsupportedOperationException > at com.bigdata.rdf.spo.SPORelation.getPredicate(SPORelation.java:1210) > at com.bigdata.rdf.spo.SPORelation.getAccessPath(SPORelation.java:1121) > at com.bigdata.rdf.spo.SPORelation.getAccessPath(SPORelation.java:1077) > at com.bigdata.rdf.store.AbstractTripleStore.getAccessPath( > AbstractTripleStore.java:3120) > at > com.bigdata.rdf.sparql.ast.optimizers.ASTRangeCountOptimizer.estimateCardinalities( > ASTRangeCountOptimizer.java:199) > at > com.bigdata.rdf.sparql.ast.optimizers.ASTRangeCountOptimizer.estimateCardinality( > ASTRangeCountOptimizer.java:191) > at > com.bigdata.rdf.sparql.ast.optimizers.ASTRangeCountOptimizer$RangeCountTask.call( > ASTRangeCountOptimizer.java:171) > at > com.bigdata.rdf.sparql.ast.optimizers.ASTRangeCountOptimizer$RangeCountTask.call( > ASTRangeCountOptimizer.java:1) > ... 5 more > > > Jeremy > > On Oct 19, 2014, at 7:22 AM, Bryan Thompson <br...@sy...> wrote: > > Jean-Marx, > > Please file a ticket with this information and include the long exception > trace since it tells us plenty. > > Thanks, > Bryan > > On Sunday, October 19, 2014, Jean-Marc Vanel <jea...@gm...> > wrote: > >> Hi >>> >>> I tried this query in latest BigData source code: >>> >> >> >>> CONSTRUCT { >>> ?thing ?p ?o . >>> ?s ?p1 ?thing . >>> } >>> WHERE { >>> { graph <http://jmvanel.free.fr/jmv.rdf#me> >>> { ?thing ?p ?o . } >>> } UNION { >>> graph ?GRAPH >>> { ?s ?p1 ?thing . } >>> } >>> } LIMIT 100 >>> >>> This maybe wrong wrt the spec. >>> But it crashes in BigData, >>> with a long exceptions chain that tells nothing . >>> >> >> Note that in Jena and Virtuoso (dbpedia), this pattern of query is >> accepted, >> with unexpected results in Jena. >> >> >> The database has been prepared with: >> LOAD <http://jmvanel.free.fr/jmv.rdf#me> INTO GRAPH < >> http://jmvanel.free.fr/jmv.rdf#me> >> LOAD <http://danbri.org/foaf.rdf#danbri> INTO GRAPH < >> http://danbri.org/foaf.rdf#danbri> >> >> >>> >>> -- >>> Jean-Marc Vanel >>> Déductions SARL - Consulting, services, training, >>> Rule-based programming, Semantic Web >>> http://deductions-software.com/ >>> +33 (0)6 89 16 29 52 >>> Twitter: @jmvanel , @jmvanel_fr ; chat: irc://irc.freenode.net#eulergui >>> <http://irc.freenode.net/#eulergui> >>> >> >> >> >> -- >> Jean-Marc Vanel >> Déductions SARL - Consulting, services, training, >> Rule-based programming, Semantic Web >> http://deductions-software.com/ >> +33 (0)6 89 16 29 52 >> Twitter: @jmvanel , @jmvanel_fr ; chat: irc://irc.freenode.net#eulergui >> <http://irc.freenode.net/#eulergui> >> > > > -- > ---- > Bryan Thompson > Chief Scientist & Founder > SYSTAP, LLC > 4501 Tower Road > Greensboro, NC 27410 > br...@sy... > http://bigdata.com > http://mapgraph.io > > CONFIDENTIALITY NOTICE: This email and its contents and attachments are > for the sole use of the intended recipient(s) and are confidential or > proprietary to SYSTAP. Any unauthorized review, use, disclosure, > dissemination or copying of this email or its contents or attachments is > prohibited. If you have received this communication in error, please notify > the sender by reply email and permanently delete all copies of the email > and its contents and attachments. > > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho_______________________________________________ > Bigdata-developers mailing list > Big...@li... > https://lists.sourceforge.net/lists/listinfo/bigdata-developers > > > -- Jean-Marc Vanel Déductions SARL - Consulting, services, training, Rule-based programming, Semantic Web http://deductions-software.com/ +33 (0)6 89 16 29 52 Twitter: @jmvanel , @jmvanel_fr ; chat: irc://irc.freenode.net#eulergui |