neo4j 遇到了这个问题麻烦大神出来解答下
发布于 9 个月前 作者 lymlala 465 次浏览 来自 问答

org.neo4j.kernel.impl.store.UnderlyingStorageException: org.neo4j.io.pagecache.impl.FileIsNotMappedException: File has been unmapped: /opt/app/neo4j-community-3.5.11/data/databases/graph.db/neostore.counts.db.a at org.neo4j.kernel.impl.store.counts.CountsTracker.get(CountsTracker.java:147) at org.neo4j.kernel.impl.store.counts.CountsTracker.relationshipCount(CountsTracker.java:161) at org.neo4j.kernel.impl.storageengine.impl.recordstorage.RecordStorageReader.countsForRelationship(RecordStorageReader.java:288) at org.neo4j.kernel.impl.newapi.AllStoreHolder.countsForRelationshipWithoutTxState(AllStoreHolder.java:217) at org.neo4j.cypher.internal.runtime.interpreted.TransactionBoundGraphStatistics$BaseTransactionBoundGraphStatistics.cardinalityByLabelsAndRelationshipType(TransactionBoundGraphStatistics.scala:85) at org.neo4j.cypher.internal.planner.v3_5.spi.DelegatingGraphStatistics.cardinalityByLabelsAndRelationshipType(GraphStatistics.scala:77) at org.neo4j.cypher.internal.planner.v3_5.spi.StatisticsCompletingGraphStatistics.cardinalityByLabelsAndRelationshipType(GraphStatistics.scala:100) at org.neo4j.cypher.internal.planner.v3_5.spi.InstrumentedGraphStatistics$$anonfun$cardinalityByLabelsAndRelationshipType$1.apply$mcD$sp(InstrumentedGraphStatistics.scala:88) at org.neo4j.cypher.internal.planner.v3_5.spi.InstrumentedGraphStatistics$$anonfun$cardinalityByLabelsAndRelationshipType$1.apply(InstrumentedGraphStatistics.scala:88) at org.neo4j.cypher.internal.planner.v3_5.spi.InstrumentedGraphStatistics$$anonfun$cardinalityByLabelsAndRelationshipType$1.apply(InstrumentedGraphStatistics.scala:88) at scala.collection.mutable.HashMap.getOrElseUpdate(HashMap.scala:79) at org.neo4j.cypher.internal.planner.v3_5.spi.InstrumentedGraphStatistics.cardinalityByLabelsAndRelationshipType(InstrumentedGraphStatistics.scala:86) at org.neo4j.cypher.internal.planner.v3_5.spi.GraphStatisticsSnapshot$$anonfun$recompute$1.apply(InstrumentedGraphStatistics.scala:53) at org.neo4j.cypher.internal.planner.v3_5.spi.GraphStatisticsSnapshot$$anonfun$recompute$1.apply(InstrumentedGraphStatistics.scala:47) at scala.collection.Iterator$class.foreach(Iterator.scala:891) at scala.collection.AbstractIterator.foreach(Iterator.scala:1334) at scala.collection.MapLike$DefaultKeySet.foreach(MapLike.scala:174) at org.neo4j.cypher.internal.planner.v3_5.spi.GraphStatisticsSnapshot.recompute(InstrumentedGraphStatistics.scala:47) at org.neo4j.cypher.internal.PlanStalenessCaller$$anonfun$3.apply$mcZ$sp(PlanStalenessCaller.scala:68) at org.neo4j.cypher.internal.PlanStalenessCaller.check(PlanStalenessCaller.scala:80) at org.neo4j.cypher.internal.PlanStalenessCaller.staleness(PlanStalenessCaller.scala:68) at org.neo4j.cypher.internal.PlanStalenessCaller.staleness(PlanStalenessCaller.scala:48) at org.neo4j.cypher.internal.QueryCache.computeIfAbsentOrStale(QueryCache.scala:132) at org.neo4j.cypher.internal.compatibility.v3_5.Cypher35Planner$$anonfun$parseAndPlan$1.apply(Cypher35Planner.scala:178) at org.neo4j.cypher.internal.compatibility.v3_5.Cypher35Planner$$anonfun$parseAndPlan$1.apply(Cypher35Planner.scala:124) at org.neo4j.cypher.exceptionHandler$runSafely$.apply(exceptionHandler.scala:89) at org.neo4j.cypher.internal.compatibility.v3_5.Cypher35Planner.parseAndPlan(Cypher35Planner.scala:124) at org.neo4j.cypher.internal.compatibility.CypherCurrentCompiler.compile(CypherCurrentCompiler.scala:83) at org.neo4j.cypher.internal.MasterCompiler.innerCompile$1(MasterCompiler.scala:112) at org.neo4j.cypher.internal.MasterCompiler.compile(MasterCompiler.scala:147) at org.neo4j.cypher.internal.ExecutionEngine$$anonfun$compilers$3.apply(ExecutionEngine.scala:136) at org.neo4j.cypher.internal.ExecutionEngine$$anonfun$compilers$3.apply(ExecutionEngine.scala:136) at org.neo4j.cypher.internal.QueryCache.compileAndCache(QueryCache.scala:167) at org.neo4j.cypher.internal.QueryCache.computeIfAbsentOrStale(QueryCache.scala:126) at org.neo4j.cypher.internal.ExecutionEngine.getOrCompile(ExecutionEngine.scala:156) at org.neo4j.cypher.internal.ExecutionEngine.execute(ExecutionEngine.scala:95) at org.neo4j.cypher.internal.javacompat.ExecutionEngine.executeQuery(ExecutionEngine.java:85) at org.neo4j.bolt.v1.runtime.TransactionStateMachineV1SPI$BoltResultHandleV1.start(TransactionStateMachineV1SPI.java:189) at org.neo4j.bolt.v1.runtime.TransactionStateMachine$State.startExecution(TransactionStateMachine.java:506) at org.neo4j.bolt.v1.runtime.TransactionStateMachine$State$1.execute(TransactionStateMachine.java:300) at org.neo4j.bolt.v1.runtime.TransactionStateMachine$State$1.run(TransactionStateMachine.java:269) at org.neo4j.bolt.v1.runtime.TransactionStateMachine.run(TransactionStateMachine.java:110) at org.neo4j.bolt.v1.runtime.TransactionStateMachine.run(TransactionStateMachine.java:98) at org.neo4j.bolt.v1.runtime.ReadyState.processRunMessage(ReadyState.java:140) at org.neo4j.bolt.v1.runtime.ReadyState.processRunMessage(ReadyState.java:100) at org.neo4j.bolt.v1.runtime.ReadyState.process(ReadyState.java:61) at org.neo4j.bolt.v1.runtime.BoltStateMachineV1.nextState(BoltStateMachineV1.java:144) at org.neo4j.bolt.v1.runtime.BoltStateMachineV1.process(BoltStateMachineV1.java:92) at org.neo4j.bolt.messaging.BoltRequestMessageReader.lambda$doRead$1(BoltRequestMessageReader.java:89) at org.neo4j.bolt.runtime.DefaultBoltConnection.processNextBatch(DefaultBoltConnection.java:191) at org.neo4j.bolt.runtime.DefaultBoltConnection.processNextBatch(DefaultBoltConnection.java:139) at org.neo4j.bolt.runtime.ExecutorBoltScheduler.executeBatch(ExecutorBoltScheduler.java:171) at org.neo4j.bolt.runtime.ExecutorBoltScheduler.lambda$scheduleBatchOrHandleError$2(ExecutorBoltScheduler.java:154) at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: org.neo4j.io.pagecache.impl.FileIsNotMappedException: File has been unmapped: /opt/app/neo4j-community-3.5.11/data/databases/graph.db/neostore.counts.db.a at org.neo4j.io.pagecache.impl.muninn.MuninnPagedFile.fileIsNotMappedException(MuninnPagedFile.java:546) at org.neo4j.io.pagecache.impl.muninn.MuninnPagedFile.getLastPageId(MuninnPagedFile.java:539) at org.neo4j.io.pagecache.impl.muninn.MuninnPageCursor.assertPagedFileStillMappedAndGetIdOfLastPage(MuninnPageCursor.java:425) at org.neo4j.io.pagecache.impl.muninn.MuninnReadPageCursor.next(MuninnReadPageCursor.java:53) at org.neo4j.kernel.impl.store.kvstore.KeyValueStoreFile.scan(KeyValueStoreFile.java:90) at org.neo4j.kernel.impl.store.kvstore.ReadableState$1.lookup(ReadableState.java:66) at org.neo4j.kernel.impl.store.kvstore.ConcurrentMapState.performLookup(ConcurrentMapState.java:372) at org.neo4j.kernel.impl.store.kvstore.ConcurrentMapState.lookup(ConcurrentMapState.java:356) at org.neo4j.kernel.impl.store.kvstore.ConcurrentMapState.performLookup(ConcurrentMapState.java:372) at org.neo4j.kernel.impl.store.kvstore.ConcurrentMapState.access$700(ConcurrentMapState.java:37) at org.neo4j.kernel.impl.store.kvstore.ConcurrentMapState$Prototype.lookup(ConcurrentMapState.java:291) at org.neo4j.kernel.impl.store.kvstore.RotationState$Rotation.lookup(RotationState.java:223) at org.neo4j.kernel.impl.store.kvstore.AbstractKeyValueStore.lookup(AbstractKeyValueStore.java:105) at org.neo4j.kernel.impl.store.counts.CountsTracker.get(CountsTracker.java:143) … 56 more Suppressed: java.lang.Exception: tracing paged file closing at org.neo4j.io.pagecache.impl.muninn.MuninnPagedFile.closeSwapper(MuninnPagedFile.java:243) at org.neo4j.io.pagecache.impl.muninn.MuninnPageCache.flushAndCloseWithoutFail(MuninnPageCache.java:556) at org.neo4j.io.pagecache.impl.muninn.MuninnPageCache.unmap(MuninnPageCache.java:538) at org.neo4j.io.pagecache.impl.muninn.MuninnPagedFile.close(MuninnPagedFile.java:236) at org.neo4j.kernel.impl.store.kvstore.KeyValueStoreFile.close(KeyValueStoreFile.java:164) at org.neo4j.kernel.impl.store.kvstore.ReadableState$1.close(ReadableState.java:84) at org.neo4j.kernel.impl.store.kvstore.ConcurrentMapState.close(ConcurrentMapState.java:338) at org.neo4j.kernel.impl.store.kvstore.RotationState$Rotation.close(RotationState.java:103) at org.neo4j.kernel.impl.store.kvstore.AbstractKeyValueStore$RotationTask.rotate(AbstractKeyValueStore.java:343) at org.neo4j.kernel.impl.store.kvstore.AbstractKeyValueStore$RotationTask.rotate(AbstractKeyValueStore.java:294) at org.neo4j.kernel.impl.store.counts.CountsTracker.rotate(CountsTracker.java:126) at org.neo4j.kernel.impl.store.NeoStores.flush(NeoStores.java:251) at org.neo4j.kernel.impl.storageengine.impl.recordstorage.RecordStorageEngine.flushAndForce(RecordStorageEngine.java:421) at org.neo4j.kernel.impl.transaction.log.checkpoint.CheckPointerImpl.doCheckPoint(CheckPointerImpl.java:179) at org.neo4j.kernel.impl.transaction.log.checkpoint.CheckPointerImpl.checkPointIfNeeded(CheckPointerImpl.java:153) at org.neo4j.kernel.impl.transaction.log.checkpoint.CheckPointScheduler$1.run(CheckPointScheduler.java:65) at org.neo4j.kernel.impl.scheduler.ScheduledJobHandle.lambda$new$0(ScheduledJobHandle.java:83) at org.neo4j.kernel.impl.scheduler.ThreadPool.lambda$submit$0(ThreadPool.java:57) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) … 3 more

2 回复

数据文件有问题,做了啥操作?

实时传数据到neo4j

回到顶部