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

BigdataGraphConfiguration should allow caller to specify SPARQL endpoint

    Details

      Description

      Rexster server is configured with a remote bigdata graph, e.g.:

              <graph>
                      <graph-name>bigdata</graph-name>
                      <graph-type>com.bigdata.blueprints.BigdataGraphConfiguration</graph-type>
                      <properties>
                              <type>remote</type>
                              <host>127.0.0.1</host>
                              <port>8085</port>
                      </properties>
                      <extensions>
                              <allows>
                                      <allow>tp:gremlin</allow>
                              </allows>
                      </extensions>
              </graph>
      

      Trying to use it results in:

      [INFO] BigdataGraph -
      [WARN] RemoteRepository - com.bigdata.rdf.sail.webapp.client.HttpException: Status Code=404, Status Line=Not Found, Response=<html>
      <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
      <title>Error 404 Not Found</title>
      </head>
      <body><h2>HTTP ERROR 404</h2>
      <p>Problem accessing /bigdata/sparql/sparql. Reason:
      <pre>    Not Found</pre></p><hr><i><small>Powered by Jetty://</small></i><hr/>
      
      </body>
      </html>
      
      [ERROR] VertexResource - java.lang.RuntimeException: org.openrdf.repository.RepositoryException: com.bigdata.rdf.sail.webapp.client.HttpException: Status Code=404, Status Line=Not Found, Response=<html>
      <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
      <title>Error 404 Not Found</title>
      </head>
      <body><h2>HTTP ERROR 404</h2>
      <p>Problem accessing /bigdata/sparql/sparql. Reason:
      <pre>    Not Found</pre></p><hr><i><small>Powered by Jetty://</small></i><hr/>
      
      </body>
      </html>
      

      From the code, it appears the endpoint is incorrect. It would be good if instead of host & port parameters we could just specify the endpoint url itself. We could then also point to a specific dataset/namespace.

      1. BigdataGraphConfiguration.java
        5 kB
        bryanthompson
      2. BigdataGraphConfiguration.java
        4 kB
        bryanthompson
      3. BigdataGraphFactory.java
        4 kB
        bryanthompson

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              bryanthompson bryanthompson
              Reporter:
              pulquero Mark Hale
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: