Smalyshev created this task.
Smalyshev assigned this task to Manybubbles.
Smalyshev added subscribers: Smalyshev, Manybubbles.
Smalyshev added projects: Wikidata-Query-Service, Discovery.
Herald added a subscriber: Aklapper.
Herald added a project: Wikidata.

TASK DESCRIPTION
  When using Label service, the following exception appears in the log:
  
  ```
  ERROR: JVMHashJoinUtility.java:1383: cause=java.lang.RuntimeException: 
addr=-70220 : cause=java.lang.RuntimeException: 
java.nio.channels.ClosedByInterruptException, 
state=JVMHashJoinUtility{open=true,joinType=Normal,joinVars=[p],size=100,considered(left=0,right=0,joins=0)}
  java.lang.RuntimeException: addr=-70220 : cause=java.lang.RuntimeException: 
java.nio.channels.ClosedByInterruptException
        at com.bigdata.rwstore.RWStore.getData(RWStore.java:1966)
        at 
com.bigdata.journal.RWStrategy.readFromLocalStore(RWStrategy.java:733)
        at com.bigdata.journal.RWStrategy.read(RWStrategy.java:156)
        at com.bigdata.journal.AbstractJournal.read(AbstractJournal.java:4284)
        at 
com.bigdata.btree.AbstractBTree.readNodeOrLeaf(AbstractBTree.java:4018)
        at com.bigdata.btree.Node._getChild(Node.java:2727)
        at com.bigdata.btree.AbstractBTree$1.compute(AbstractBTree.java:363)
        at com.bigdata.btree.AbstractBTree$1.compute(AbstractBTree.java:346)
        at com.bigdata.util.concurrent.Memoizer$1.call(Memoizer.java:77)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at com.bigdata.util.concurrent.Memoizer.compute(Memoizer.java:92)
        at com.bigdata.btree.AbstractBTree.loadChild(AbstractBTree.java:532)
        at com.bigdata.btree.Node.getChild(Node.java:2628)
        at com.bigdata.btree.Node.indexOf(Node.java:971)
        at com.bigdata.btree.Node.indexOf(Node.java:988)
        at com.bigdata.btree.AbstractBTree.rangeCount(AbstractBTree.java:2631)
        at 
com.bigdata.relation.accesspath.AccessPath.historicalRangeCount(AccessPath.java:1418)
        at 
com.bigdata.relation.accesspath.AccessPath.rangeCount(AccessPath.java:1386)
        at 
com.bigdata.relation.accesspath.AccessPath.iterator(AccessPath.java:986)
        at 
com.bigdata.relation.accesspath.AccessPath.iterator(AccessPath.java:789)
        at 
org.wikidata.query.rdf.blazegraph.label.LabelService$ResolutionContext.fillBestLabels(LabelService.java:373)
        at 
org.wikidata.query.rdf.blazegraph.label.LabelService$ResolutionContext.resolve(LabelService.java:358)
        at 
org.wikidata.query.rdf.blazegraph.label.LabelService$LabelServiceCall$Chunk.next(LabelService.java:217)
        at 
org.wikidata.query.rdf.blazegraph.label.LabelService$LabelServiceCall$Chunk.next(LabelService.java:189)
        at 
com.bigdata.striterator.ChunkedWrappedIterator.nextChunk(ChunkedWrappedIterator.java:252)
        at com.bigdata.striterator.Chunkerator.next(Chunkerator.java:96)
        at com.bigdata.striterator.Chunkerator.next(Chunkerator.java:44)
        at 
com.bigdata.bop.join.JVMHashJoinUtility.hashJoin2(JVMHashJoinUtility.java:548)
        at 
com.bigdata.bop.join.JVMHashJoinUtility.hashJoin(JVMHashJoinUtility.java:513)
        at 
com.bigdata.bop.controller.ServiceCallJoin$ChunkTask$ServiceCallTask.call(ServiceCallJoin.java:618)
        at 
com.bigdata.bop.controller.ServiceCallJoin$ChunkTask$ServiceCallTask.call(ServiceCallJoin.java:542)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
  Caused by: java.lang.RuntimeException: 
java.nio.channels.ClosedByInterruptException
        at com.bigdata.rwstore.RWStore.readRaw(RWStore.java:6292)
        at 
com.bigdata.io.writecache.WriteCacheService._readFromLocalDiskIntoNewHeapByteBuffer(WriteCacheService.java:3702)
        at 
com.bigdata.io.writecache.WriteCacheService._getRecord(WriteCacheService.java:3526)
        at 
com.bigdata.io.writecache.WriteCacheService.access$2500(WriteCacheService.java:200)
        at 
com.bigdata.io.writecache.WriteCacheService$1.compute(WriteCacheService.java:3363)
        at 
com.bigdata.io.writecache.WriteCacheService$1.compute(WriteCacheService.java:3347)
        at com.bigdata.util.concurrent.Memoizer$1.call(Memoizer.java:77)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at com.bigdata.util.concurrent.Memoizer.compute(Memoizer.java:92)
        at 
com.bigdata.io.writecache.WriteCacheService.loadRecord(WriteCacheService.java:3468)
        at 
com.bigdata.io.writecache.WriteCacheService.read(WriteCacheService.java:3187)
        at com.bigdata.rwstore.RWStore.getData(RWStore.java:1957)
        ... 34 more
  Caused by: java.nio.channels.ClosedByInterruptException
        at 
java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:202)
        at sun.nio.ch.FileChannelImpl.readInternal(FileChannelImpl.java:713)
        at sun.nio.ch.FileChannelImpl.read(FileChannelImpl.java:694)
        at 
com.bigdata.io.FileChannelUtility.readAll(FileChannelUtility.java:190)
        at com.bigdata.rwstore.RWStore.readRaw(RWStore.java:6268)
        ... 45 more
  ```
  
  Since I've never seen it before and label service appears in the stack trace, 
I assume it's somehow related.

TASK DETAIL
  https://phabricator.wikimedia.org/T104664

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Manybubbles, Smalyshev
Cc: Aklapper, Manybubbles, Smalyshev, jkroll, Wikidata-bugs, Jdouglas, aude, 
JanZerebecki, Malyacko, P.Copp



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to