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

The remote transaction manager doesn't work with Blazegraph 2.0.0+

    XMLWordPrintable

    Details

      Description

      Remote transactions do work in 1.5.3

      When calling the rest endpoint to create transaction in Blazegraph 2.0.0+ (tested both 2.0.0 and 2.0.1) the nedpoint creates the transaction and returns `HTTP 200 OK`.

      The `RemoteTransactionManager` expects `HTTP 201 CREATED` and it results in Exception similar to following one:

      ...
      Caused by: org.openrdf.repository.RepositoryException: java.lang.RuntimeException: com.bigdata.rdf.sail.webapp.client.HttpException: status=200, reasonOK
      at com.bigdata.rdf.sail.remote.BigdataSailRemoteRepositoryConnection.begin(BigdataSailRemoteRepositoryConnection.java:1029) ~[bigdata-client-2.0.0.jar:na]
      at org.openrdf.spring.RepositoryConnectionFactory.createTransaction(RepositoryConnectionFactory.java:105) ~[sesame-spring-2.7.13.jar:na]
      at org.openrdf.spring.SesameTransactionManager.doGetTransaction(SesameTransactionManager.java:43) ~[sesame-spring-2.7.13.jar:na]
      ... 62 common frames omitted
      Caused by: java.lang.RuntimeException: com.bigdata.rdf.sail.webapp.client.HttpException: status=200, reasonOK
      at com.bigdata.rdf.sail.webapp.client.RemoteTransactionManager.createTx(RemoteTransactionManager.java:318) ~[bigdata-client-2.0.0.jar:na]
      at com.bigdata.rdf.sail.remote.BigdataSailRemoteRepositoryConnection.begin(BigdataSailRemoteRepositoryConnection.java:1025) ~[bigdata-client-2.0.0.jar:na]
      ... 64 common frames omitted
      Caused by: com.bigdata.rdf.sail.webapp.client.HttpException: status=200, reasonOK
      at com.bigdata.rdf.sail.webapp.client.RemoteTransactionManager.createTx(RemoteTransactionManager.java:312) ~[bigdata-client-2.0.0.jar:na]
      ... 65 common frames omitted
      

        Attachments

          Activity

            People

            Assignee:
            igorkim igorkim
            Reporter:
            zyka.jan@gmail.com Jan Zyka
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: