Yes they do

On 5/29/13 10:41 AM, "Marco Neumann" <[email protected]> wrote:

>do the ruby scripts in the fuseki distribution make use of the Graph Store
>Protocol? e.g s-put
>
>
>On Wed, May 29, 2013 at 1:11 PM, Rob Vesse <[email protected]> wrote:
>
>> If you do want to load data to a running system it may be best to use
>>the
>> Graph Store Protocol features of Fuseki.
>>
>> If TDB is the backing store Fuseki will use transactions appropriately
>>and
>> data can be loaded while users are querying it with TDB's transaction
>> machinery ensuring that existing read transactions don't see the new
>>data
>> until it has been committed.  However this may have increased memory
>>usage
>> due to the write ahead journaling that TDB uses to implement
>>transactions.
>>
>> Rob
>>
>>
>>
>>
>> On 5/29/13 9:43 AM, "Marco Neumann" <[email protected]> wrote:
>>
>> >actually when you say it Rob, tdbloader2 is not hitting the webservice
>>but
>> >tdb on the file system.
>> >
>> >so you are right tdbloader2 is running concurrent with the fuseki
>> >instance.
>> >not a good idea with the current design.
>> >
>> >will have to shut down fuseki before loading the new data now
>> >
>> >
>> >
>> >On Wed, May 29, 2013 at 12:29 PM, Rob Vesse <[email protected]>
>>wrote:
>> >
>> >> I don't quite follow what you are doing here Marco.  Exactly what
>>steps
>> >> are you taking to load the data/run Fuseki?
>> >>
>> >> Are you saying that you are running a Fuseki instance against a TDB
>> >> instance that you are bulk loading in parallel?  If so this is a very
>> >>bad
>> >> idea, TDB is not safe for concurrent use across multiple JVMs
>> >>
>> >> Rob
>> >>
>> >>
>> >>
>> >> On 5/29/13 7:11 AM, "Marco Neumann" <[email protected]> wrote:
>> >>
>> >> >have you seen this before? I am getting this warning recently while
>> >>fuseki
>> >> >is building the index after a bulkload with tdbloader2
>> >> >
>> >> >as you can see other users access the fuseki webservice at the same
>> >>time.
>> >> >
>> >> >
>> >> >13:58:17 Index phase
>> >> >13:58:17 Index SPO
>> >> >13:58:20 INFO  [4] GET *
>> >> >13:58:20 INFO  [4] Query = PREFIX geo:<
>> >> >http://www.w3.org/2003/01/geo/wgs84_pos#> PREFIX foaf:<
>> >> >http://xmlns.com/foaf/0.1/> PREFIX loticoowl:<
>> >> >http://www.lotico.com/ontology/> DESCRIBE <
>> >> >http://www.lotico.com/resource/member_12111849>
>> >> >13:58:20 WARN  [4] RC = 500 : BlockAccessBase: Bounds exception:
>> >> >/public_trust/db/fusekidb/node2id.idn: (1025,1)
>> >> >com.hp.hpl.jena.tdb.base.block.BlockException: BlockAccessBase:
>>Bounds
>> >> >exception: /public_trust/db/fusekidb/node2id.idn: (1025,1)
>> >> >        at
>> >>
>> 
>>>>>com.hp.hpl.jena.tdb.base.file.BlockAccessBase.check(BlockAccessBase.ja
>>>>>va
>> >>>:1
>> >> >18)
>> >> >        at
>> >>
>> 
>>>>>com.hp.hpl.jena.tdb.base.file.BlockAccessMapped.read(BlockAccessMapped
>>>>>.j
>> >>>av
>> >> >a:93)
>> >> >        at
>> >>
>> 
>>>>>com.hp.hpl.jena.tdb.base.block.BlockMgrFileAccess.getBlock(BlockMgrFil
>>>>>eA
>> >>>cc
>> >> >ess.java:81)
>> >> >        at
>> >>
>> 
>>>>>com.hp.hpl.jena.tdb.base.block.BlockMgrFileAccess.getRead(BlockMgrFile
>>>>>Ac
>> >>>ce
>> >> >ss.java:70)
>> >> >        at
>> >>
>> 
>>>>>com.hp.hpl.jena.tdb.base.block.BlockMgrWrapper.getRead(BlockMgrWrapper
>>>>>.j
>> >>>av
>> >> >a:52)
>> >> >        at
>> >>
>> 
>>>>>com.hp.hpl.jena.tdb.base.page.PageBlockMgr.getRead(PageBlockMgr.java:6
>>>>>8)
>> >> >        at
>> >>
>> 
>>>>>com.hp.hpl.jena.tdb.index.bplustree.BPTreeNodeMgr.getRead(BPTreeNodeMg
>>>>>r.
>> >>>ja
>> >> >va:105)
>> >> >        at
>> >>
>> 
>>>>>com.hp.hpl.jena.tdb.index.bplustree.BPTreeNode.getMgrRead(BPTreeNode.j
>>>>>av
>> >>>a:
>> >> >166)
>> >> >        at
>> >> 
>>>com.hp.hpl.jena.tdb.index.bplustree.BPTreeNode.get(BPTreeNode.java:154)
>> >> >        at
>> >>
>> 
>>>>>com.hp.hpl.jena.tdb.index.bplustree.BPTreeNode.findHere(BPTreeNode.jav
>>>>>a:
>> >>>42
>> >> >2)
>> >> >        at
>> >>
>> 
>>>>>com.hp.hpl.jena.tdb.index.bplustree.BPTreeNode.internalSearch(BPTreeNo
>>>>>de
>> >>>.j
>> >> >ava:407)
>> >> >        at
>> >>
>> 
>>>>>com.hp.hpl.jena.tdb.index.bplustree.BPTreeNode.search(BPTreeNode.java:
>>>>>18
>> >>>7)
>> >> >        at
>> >> 
>>>com.hp.hpl.jena.tdb.index.bplustree.BPlusTree.find(BPlusTree.java:282)
>> >> >        at
>> >>
>> 
>>>>>com.hp.hpl.jena.tdb.nodetable.NodeTableNative.accessIndex(NodeTableNat
>>>>>iv
>> >>>e.
>> >> >java:132)
>> >> >        at
>> >>
>> 
>>>>>com.hp.hpl.jena.tdb.nodetable.NodeTableNative._idForNode(NodeTableNati
>>>>>ve
>> >>>.j
>> >> >ava:117)
>> >> >        at
>> >>
>> 
>>>>>com.hp.hpl.jena.tdb.nodetable.NodeTableNative.getNodeIdForNode(NodeTab
>>>>>le
>> >>>Na
>> >> >tive.java:79)
>> >> >        at
>> >>
>> 
>>>>>com.hp.hpl.jena.tdb.nodetable.NodeTableCache._idForNode(NodeTableCache
>>>>>.j
>> >>>av
>> >> >a:125)
>> >> >        at
>> >>
>> 
>>>>>com.hp.hpl.jena.tdb.nodetable.NodeTableCache.getNodeIdForNode(NodeTabl
>>>>>eC
>> >>>ac
>> >> >he.java:79)
>> >> >        at
>> >>
>> 
>>>>>com.hp.hpl.jena.tdb.nodetable.NodeTableWrapper.getNodeIdForNode(NodeTa
>>>>>bl
>> >>>eW
>> >> >rapper.java:49)
>> >> >        at
>> >>
>> 
>>>>>com.hp.hpl.jena.tdb.nodetable.NodeTableInline.getNodeIdForNode(NodeTab
>>>>>le
>> >>>In
>> >> >line.java:59)
>> >> >        at
>> >>
>> 
>>>>>com.hp.hpl.jena.tdb.nodetable.NodeTableWrapper.getNodeIdForNode(NodeTa
>>>>>bl
>> >>>eW
>> >> >rapper.java:49)
>> >> >        at
>> >>
>> 
>>>>>com.hp.hpl.jena.tdb.nodetable.NodeTupleTableConcrete.idForNode(NodeTup
>>>>>le
>> >>>Ta
>> >> >bleConcrete.java:189)
>> >> >        at
>> >>
>> 
>>>>>com.hp.hpl.jena.tdb.nodetable.NodeTupleTableConcrete.findAsNodeIds(Nod
>>>>>eT
>> >>>up
>> >> >leTableConcrete.java:142)
>> >> >        at
>> >>com.hp.hpl.jena.tdb.store.TripleTable.find(TripleTable.java:76)
>> >> >        at
>> >>
>> 
>>>>>com.hp.hpl.jena.tdb.store.DatasetGraphTDB.findInDftGraph(DatasetGraphT
>>>>>DB
>> >>>.j
>> >> >ava:100)
>> >> >        at
>> >>
>> 
>>>>>com.hp.hpl.jena.sparql.core.DatasetGraphBaseFind.find(DatasetGraphBase
>>>>>Fi
>> >>>nd
>> >> >.java:46)
>> >> >        at
>> >>
>> 
>>>>>com.hp.hpl.jena.tdb.store.GraphTDBBase.graphBaseFindDft(GraphTDBBase.j
>>>>>av
>> >>>a:
>> >> >114)
>> >> >        at
>> >>
>> 
>>>>>com.hp.hpl.jena.tdb.store.GraphTriplesTDB.graphBaseFind(GraphTriplesTD
>>>>>B.
>> >>>ja
>> >> >va:71)
>> >> >        at
>> >>com.hp.hpl.jena.graph.impl.GraphBase.find(GraphBase.java:268)
>> >> >        at
>> >> 
>>>com.hp.hpl.jena.graph.impl.GraphBase.graphBaseFind(GraphBase.java:290)
>> >> >        at
>> >>com.hp.hpl.jena.graph.impl.GraphBase.find(GraphBase.java:287)
>> >> >        at
>> >>
>> 
>>>>>com.hp.hpl.jena.rdf.model.impl.ModelCom.listStatements(ModelCom.java:4
>>>>>58
>> >>>)
>> >> >        at
>> >>
>> 
>>>>>com.hp.hpl.jena.rdf.model.impl.ModelCom.listStatements(ModelCom.java:4
>>>>>64
>> >>>)
>> >> >        at
>> >>
>> 
>>>>>com.hp.hpl.jena.rdf.model.impl.ResourceImpl.listProperties(ResourceImp
>>>>>l.
>> >>>ja
>> >> >va:182)
>> >> >        at
>> >> >com.hp.hpl.jena.sparql.util.Closure.closureNoTest(Closure.java:194)
>> >> >        at
>> >>com.hp.hpl.jena.sparql.util.Closure.closure(Closure.java:148)
>> >> >        at
>> >>com.hp.hpl.jena.sparql.util.Closure.closure(Closure.java:127)
>> >> >        at
>> >>
>> 
>>>>>com.hp.hpl.jena.sparql.core.describe.DescribeBNodeClosure.describe(Des
>>>>>cr
>> >>>ib
>> >> >eBNodeClosure.java:54)
>> >> >        at
>> >>
>> 
>>>>>com.hp.hpl.jena.sparql.engine.QueryExecutionBase.execDescribe(QueryExe
>>>>>cu
>> >>>ti
>> >> >onBase.java:318)
>> >> >        at
>> >>
>> 
>>>>>com.hp.hpl.jena.sparql.engine.QueryExecutionBase.execDescribe(QueryExe
>>>>>cu
>> >>>ti
>> >> >onBase.java:257)
>> >> >        at
>> >>
>> 
>>>>>org.apache.jena.fuseki.servlets.SPARQL_Query.executeQuery(SPARQL_Query
>>>>>.j
>> >>>av
>> >> >a:300)
>> >> >        at
>> >>
>> 
>>>>>org.apache.jena.fuseki.servlets.SPARQL_Query.execute(SPARQL_Query.java
>>>>>:2
>> >>>54
>> >> >)
>> >> >        at
>> >>
>> 
>>>>>org.apache.jena.fuseki.servlets.SPARQL_Query.executeWithParameter(SPAR
>>>>>QL
>> >>>_Q
>> >> >uery.java:215)
>> >> >        at
>> >>
>> 
>>>>>org.apache.jena.fuseki.servlets.SPARQL_Query.perform(SPARQL_Query.java
>>>>>:1
>> >>>06
>> >> >)
>> >> >        at
>> >>
>> 
>>>>>org.apache.jena.fuseki.servlets.SPARQL_ServletBase.doCommonWorker(SPAR
>>>>>QL
>> >>>_S
>> >> >ervletBase.java:117)
>> >> >        at
>> >>
>> 
>>>>>org.apache.jena.fuseki.servlets.SPARQL_ServletBase.doCommon(SPARQL_Ser
>>>>>vl
>> >>>et
>> >> >Base.java:67)
>> >> >        at
>> >>
>> 
>>>>>org.apache.jena.fuseki.servlets.SPARQL_Query.doGet(SPARQL_Query.java:8
>>>>>6)
>> >> >        at 
>>javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
>> >> >        at 
>>javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>> >> >        at
>> >> 
>>>org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:669)
>> >> >        at
>> >>
>> 
>>>>>org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletH
>>>>>an
>> >>>dl
>> >> >er.java:1336)
>> >> >        at
>> >>
>> 
>>>>>org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.ja
>>>>>va
>> >>>:8
>> >> >2)
>> >> >        at
>> >> >org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:264)
>> >> >        at
>> >>
>> 
>>>>>org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletH
>>>>>an
>> >>>dl
>> >> >er.java:1307)
>> >> >        at
>> >>
>> 
>>>>>org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:
>>>>>45
>> >>>3)
>> >> >        at
>> >>
>> 
>>>>>org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandle
>>>>>r.
>> >>>ja
>> >> >va:229)
>> >> >        at
>> >>
>> 
>>>>>org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandle
>>>>>r.
>> >>>ja
>> >> >va:1072)
>> >> >        at
>> >>
>> 
>>>>>org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:3
>>>>>82
>> >>>)
>> >> >        at
>> >>
>> 
>>>>>org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler
>>>>>.j
>> >>>av
>> >> >a:193)
>> >> >        at
>> >>
>> 
>>>>>org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler
>>>>>.j
>> >>>av
>> >> >a:1006)
>> >> >        at
>> >>
>> 
>>>>>org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.ja
>>>>>va
>> >>>:1
>> >> >35)
>> >> >        at
>> >>
>> 
>>>>>org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.
>>>>>ja
>> >>>va
>> >> >:116)
>> >> >        at org.eclipse.jetty.server.Server.handle(Server.java:365)
>> >> >        at
>> >>
>> 
>>>>>org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(Abstract
>>>>>Ht
>> >>>tp
>> >> >Connection.java:485)
>> >> >        at
>> >>
>> 
>>>>>org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(Blocking
>>>>>Ht
>> >>>tp
>> >> >Connection.java:53)
>> >> >        at
>> >>
>> 
>>>>>org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(Abstrac
>>>>>tH
>> >>>tt
>> >> >pConnection.java:926)
>> >> >        at
>> >>
>> 
>>>>>org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerC
>>>>>om
>> >>>pl
>> >> >ete(AbstractHttpConnection.java:988)
>> >> >        at
>> >> >org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:635)
>> >> >        at
>> >> 
>>>org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
>> >> >        at
>> >>
>> 
>>>>>org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpCon
>>>>>ne
>> >>>ct
>> >> >ion.java:72)
>> >> >        at
>> >>
>> 
>>>>>org.eclipse.jetty.server.nio.BlockingChannelConnector$BlockingChannelE
>>>>>nd
>> >>>Po
>> >> >int.run(BlockingChannelConnector.java:298)
>> >> >        at
>> >>
>> 
>>>>>org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool
>>>>>.j
>> >>>av
>> >> >a:608)
>> >> >        at
>> >>
>> 
>>>>>org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.
>>>>>ja
>> >>>va
>> >> >:543)
>> >> >        at java.lang.Thread.run(Unknown Source)
>> >> >13:58:20 INFO  [4] 500 BlockAccessBase: Bounds exception:
>> >> >/public_trust/db/fusekidb/node2id.idn: (1025,1)
>> >> >13:58:28 Build SPO
>> >> >13:58:32 Index POS
>> >> >13:58:47 Build POS
>> >> >13:58:51 Index OSP
>> >> >13:59:01 Build OSP
>> >> >13:59:06 Index phase end
>> >> >13:59:06 -- TDB Bulk Loader Finish
>> >> >
>> >> >
>> >> >--
>> >> >
>> >> >
>> >> >---
>> >> >Marco Neumann
>> >> >KONA
>> >>
>> >>
>> >
>> >
>> >--
>> >
>> >
>> >---
>> >Marco Neumann
>> >KONA
>>
>>
>
>
>-- 
>
>
>---
>Marco Neumann
>KONA

Reply via email to