cassandra正在关闭,因为org.apache.cassandra.io.fswriteerror:java.nio.file.nosuchfileexception

des4xlb0  于 2021-06-15  发布在  Cassandra
关注(0)|答案(0)|浏览(320)

canssandra(2.1.13)在启动时抛出“org.apache.cassandra.io.fswriteerror:java.nio.file.nosuchfileexception”
下面是stacktrace:
错误[memtablefl]ushwriter:1]2018-10-22 03:24:41191Cassandra迪蒙。java:229 - 线程[memtablefl]中出现异常ushwriter:1,5,main]org.apache.cassandra.io.fswriteerror:java.nio.file.nosuchfileexception:文件异常:
/var/data/system/schema\u columnfamilies-45f5b36024bc3f83a3631034ea4fa697/system-schema\u columnfamilies-tmp-ka-60-digest.sha1位于org.apache.cassandra.io.util.dataintegritymetadata$checksumwriter.writefullchecksum(dataintegritymetadata)。java:155)~[apache-cassandra-2.1.13。jar:2.1.13]在org.apache.cassandra.io.compress.compressedsequentialwriter.writefullchecksum(压缩sequentialwriter。java:285)~[apache-cassandra-2.1.13。jar:2.1.13]在org.apache.cassandra.io.sstable.sstablewriter.close(sstablewriter。java:518)~[apache-cassandra-2.1.13。jar:2.1.13]在org.apache.cassandra.io.sstable.sstablewriter.finish(sstablewriter。java:455) ~[apache-cassandra-2.1.13。jar:2.1.13]在org.apache.cassandra.io.sstable.sstablewriter.closeandopenreader(sstablewriter。java:447)~[apache-cassandra-2.1.13。jar:2.1.13]在org.apache.cassandra.io.sstable.sstablewriter.closeandopenreader(sstablewriter。java:442)~[apache-cassandra-2.1.13。jar:2.1.13]在org.apache.cassandra.db.memtable$flushrunnable.writesortedcontents(memtable。java:389)~[apache-cassandra-2.1.13。jar:2.1.13]在org.apache.cassandra.db.memtable$flushrunnable.runmaythrow(memtable。java:335)~[apache-cassandra-2.1.13。jar:2.1.13]在org.apache.cassandra.utils.wrappedrunnable.run(wrappedrunnable。java:28) ~[apache-cassandra-2.1.13。jar:2.1.13]在com.google.common.util.concurrent.moreexecutors$samethreadexecutorservice.execute(moreexecutors。java:297)~[Guava-16.0。jar:na]在org.apache.cassandra.db.columnfamilystore$flush.run(columnfamilystore。java:1120)~[apache-cassandra-2.1.13。jar:2.1.13]在java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor。java:1149)~[na:1.8.0\u 181]位于java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor。java:624)~[na:1.8.0\u 181]在java.lang.thread.run(thread。java:748)~[na:1.8.0µ]
原因:java.nio.file.nosuchfileexception:/var/data/system/schema_columnfamilies-45f5b36024bc3f83a3631034ea4fa697/system-schema_columnfamilies-tmp-ka-60-digest.sha1 at sun.nio.fs.unixexception.translatetoioexception(unixexception)。java:86)~(na:1.8.0µ)在sun.nio.fs.unixexception.rethrowasioexception(unixexception。java:102)~[na:1.8.0µ]在sun.nio.fs.unixexception.rethrowasioexception(unixexception。java:107)~[na:1.8.0\u 181]位于sun.nio.fs.unixfilesystemprovider.newbytechannel(unixfilesystemprovider)。java:214)~[na:1.8.0\u 181]位于java.nio.file.spi.filesystemprovider.newoutputstream(filesystemprovider)。java:434)~[na:1.8.0\u 181]位于java.nio.file.files.newoutputstream(files。java:216) ~[na:1.8.0\u 181]位于java.nio.file.files.newbufferedwriter(files。java:2860)~[na:1.8.0\u 181]位于org.apache.cassandra.io.util.dataintegritymetadata$checksumwriter.writefullchecksum(dataintegritymetadata)。java:150)~[apache-cassandra-2.1.13。jar:2.1.13] ... 省略13个公共框架
错误[compactio]nexecutor:1]2018-10-22 03:24:41192Cassandra迪蒙。java:229 - 线程[compactio]中出现异常nexecutor:1,1,main]java.lang.runtimeexception:尝试硬链接到org.apache.cassandra.io.util.fileutils.createhardlink(fileutils)上不存在的文件/var/data/system/schema\u keyspaces-b0f2235744583cdb9631c43e59ce3676/system-schema\u keyspaces-tmp-ka-65-index.db。java:90)~[apache-cassandra-2.1.13。jar:2.1.13]在org.apache.cassandra.io.sstable.sstablewriter.maketmplinks(sstablewriter。java:390)~[apache-cassandra-2.1.13。jar:2.1.13]在org.apache.cassandra.io.sstable.sstablewriter.finish(sstablewriter。java:460)~[apache-cassandra-2.1.13。jar:2.1.13]在org.apache.cassandra.io.sstable.sstablerewriter.switchwriter(sstablerewriter。java:398) ~[apache-cassandra-2.1.13。jar:2.1.13]在org.apache.cassandra.io.sstable.sstablerewriter.finishandmaybethrow(sstablerewriter。java:453)~[apache-cassandra-2.1.13。jar:2.1.13]在org.apache.cassandra.io.sstable.sstablerewriter.finish(sstablerewriter。java:435)~[apache-cassandra-2.1.13。jar:2.1.13]在org.apache.cassandra.io.sstable.sstablerewriter.finish(sstablerewriter。java:415)~[apache-cassandra-2.1.13。jar:2.1.13]在org.apache.cassandra.db.compaction.compactiontask.runmaythrow(compactiontask。java:214)~[apache-cassandra-2.1.13。jar:2.1.13]在org.apache.cassandra.utils.wrappedrunnable.run(wrappedrunnable。java:28) ~[apache-cassandra-2.1.13。jar:2.1.13]位于org.apache.cassandra.db.compaction.compactiontask.executeinternal(compactiontask。java:73)~[apache-cassandra-2.1.13。jar:2.1.13]在org.apache.cassandra.db.compression.abstractcompactiontask.execute(abstractcompactiontask。java:59)~[apache-cassandra-2.1.13。jar:2.1.13]在org.apache.cassandra.db.compaction.compactionmanager$backgroundcompactioncandidate.run(compactionmanager。java:263)~[apache-cassandra-2.1.13。jar:2.1.13]在java.util.concurrent.executors$runnableadapter.call(executors。java:511)~[na:1.8.0\u 181]位于java.util.concurrent.futuretask.run(futuretask。java:266)~[na:1.8.0µ]在java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor。java:1149)~[na:1.8.0\u 181]位于java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor。java:624)[na:1.8.0µ]at java.lang.thread.run(线程。java:748)[na:1.8.0µ]
错误[memtablefl]ushwriter:1]2018-10-22 03:24:41192存储服务。java:453 - 停止闲聊警告[memtablefl]ushwriter:1]2018-10-22 03:24:41193存储服务。java:359 - 通过操作员请求信息停止流言[memtablefl]ushwriter:1]2018-10-22 03:24:41193八卦。java:1455 - 宣布关闭
找到一个相关链接https://support.datastax.com/hc/en-us/articles/204424739-apache-cassandra-fails-to-start-with-fsreaderror-and-java-io-eofexception- 但这里讨论的是fsreaderror,而在上面的堆栈跟踪中,问题是fswriteerror,其中文件不存在。
这是与安装程序相关的问题还是可以修复的已知问题,还是特定于版本的问题?
如果没有错,那么这些tmp文件将在压缩时生成并导致问题。目前无法在此处继续并在此处查找指针。
谢谢!

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题