You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rya.apache.org by Michele Polonioli <m....@campus.unimib.it> on 2017/07/18 11:22:17 UTC
SPARQL query without restriction issue
Dear developers,
In order to run a benchmark on apache-rya database technology I have
installed rya-incubating
3.2.10 on a cluster.
When I try to run the following query:
select ?s ?p ?o
>
> where {
>
> ?s ?p ?o .
>
> }
In response I have a http status 500 - internal server error:
HTTP Status 500 – Internal Server Error
> ------------------------------
>
> *Type* Exception Report
>
> *Message* Request processing failed; nested exception is
> java.lang.RuntimeException: org.openrdf.query.QueryEvaluationException:
> org.openrdf.query.QueryEvaluationException:
> org.apache.rya.api.persist.RyaDAOException:
> java.lang.IllegalArgumentException:
> TriplePattern[RyaStatement{subject=null, predicate=null, object=null,
> context=null, qualifier=null, columnVisibility=null, value=null,
> timestamp=1500376545329}] not supported
>
> *Description* The server encountered an unexpected condition that
> prevented it from fulfilling the request.
>
> *Exception*
>
> org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.RuntimeException: org.openrdf.query.QueryEvaluationException: org.openrdf.query.QueryEvaluationException: org.apache.rya.api.persist.RyaDAOException: java.lang.IllegalArgumentException: TriplePattern[RyaStatement{subject=null, predicate=null, object=null, context=null, qualifier=null, columnVisibility=null, value=null, timestamp=1500376545329}] not supported
> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:965)
> org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:844)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
> org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:829)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
>
>
Is this a limitation of the technology or I can avoid this issue someway?
I look forward to hearing from you.
Best regards,
MP
Re: SPARQL query without restriction issue
Posted by "Aaron D. Mihalik" <aa...@gmail.com>.
Hey Michelle,
This behavior was fixed in 3.2.11. Since we don't have a 3.2.11 release
yet, can you checkout out master and try it out?
Here's the PR that fixed the issue:
https://github.com/apache/incubator-rya/pull/136
--Aaron
On Tue, Jul 18, 2017 at 8:02 AM Michele Polonioli <
m.polonioli@campus.unimib.it> wrote:
> Dear developers,
>
> In order to run a benchmark on apache-rya database technology I have
> installed rya-incubating
> 3.2.10 on a cluster.
>
> When I try to run the following query:
>
> select ?s ?p ?o
> >
> > where {
> >
> > ?s ?p ?o .
> >
> > }
>
>
> In response I have a http status 500 - internal server error:
>
> HTTP Status 500 – Internal Server Error
> > ------------------------------
> >
> > *Type* Exception Report
> >
> > *Message* Request processing failed; nested exception is
> > java.lang.RuntimeException: org.openrdf.query.QueryEvaluationException:
> > org.openrdf.query.QueryEvaluationException:
> > org.apache.rya.api.persist.RyaDAOException:
> > java.lang.IllegalArgumentException:
> > TriplePattern[RyaStatement{subject=null, predicate=null, object=null,
> > context=null, qualifier=null, columnVisibility=null, value=null,
> > timestamp=1500376545329}] not supported
> >
> > *Description* The server encountered an unexpected condition that
> > prevented it from fulfilling the request.
> >
> > *Exception*
> >
> > org.springframework.web.util.NestedServletException: Request processing
> failed; nested exception is java.lang.RuntimeException:
> org.openrdf.query.QueryEvaluationException:
> org.openrdf.query.QueryEvaluationException:
> org.apache.rya.api.persist.RyaDAOException:
> java.lang.IllegalArgumentException:
> TriplePattern[RyaStatement{subject=null, predicate=null, object=null,
> context=null, qualifier=null, columnVisibility=null, value=null,
> timestamp=1500376545329}] not supported
> >
> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:965)
> >
> org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:844)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
> >
> org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:829)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
> >
> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
> >
> >
> Is this a limitation of the technology or I can avoid this issue someway?
>
> I look forward to hearing from you.
> Best regards,
> MP
>