java.lang.AssertionError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Stuck at compaction
    via Stack Overflow by xmas79
    ,
  • Read failure Cassandra
    via Stack Overflow by Alexandre S.
    ,
  • {code} java.lang.RuntimeException: Failed to rename build\test\cassandra\data;0\system\schema_keyspaces-b0f2235744583cdb9631c43e59ce3676\system-schema_keyspaces-tmp-ka-5-Index.db to build\test\cassandra\data;0\system\schema_keyspaces-b0f2235744583cdb9631c43e59ce3676\system-schema_keyspaces-ka-5-Index.db at org.apache.cassandra.io.util.FileUtils.renameWithConfirm(FileUtils.java:170) ~[main/:na] at org.apache.cassandra.io.util.FileUtils.renameWithConfirm(FileUtils.java:154) ~[main/:na] at org.apache.cassandra.io.sstable.SSTableWriter.rename(SSTableWriter.java:569) ~[main/:na] at org.apache.cassandra.io.sstable.SSTableWriter.rename(SSTableWriter.java:561) ~[main/:na] at org.apache.cassandra.io.sstable.SSTableWriter.close(SSTableWriter.java:535) ~[main/:na] at org.apache.cassandra.io.sstable.SSTableWriter.finish(SSTableWriter.java:470) ~[main/:na] at org.apache.cassandra.io.sstable.SSTableRewriter.finishAndMaybeThrow(SSTableRewriter.java:349) ~[main/:na] at org.apache.cassandra.io.sstable.SSTableRewriter.finish(SSTableRewriter.java:324) ~[main/:na] at org.apache.cassandra.io.sstable.SSTableRewriter.finish(SSTableRewriter.java:304) ~[main/:na] at org.apache.cassandra.db.compaction.CompactionTask.runMayThrow(CompactionTask.java:200) ~[main/:na] at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) ~[main/:na] at org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:75) ~[main/:na] at org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:59) ~[main/:na] at org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionTask.run(CompactionManager.java:226) ~[main/:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) ~[na:1.7.0_45] at java.util.concurrent.FutureTask.run(FutureTask.java:262) ~[na:1.7.0_45] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) ~[na:1.7.0_45] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_45] at java.lang.Thread.run(Thread.java:744) [na:1.7.0_45] Caused by: java.nio.file.FileSystemException: build\test\cassandra\data;0\system\schema_keyspaces-b0f2235744583cdb9631c43e59ce3676\system-schema_keyspaces-tmp-ka-5-Index.db -> build\test\cassandra\data;0\system\schema_keyspaces-b0f2235744583cdb9631c43e59ce3676\system-schema_keyspaces-ka-5-Index.db: The process cannot access the file because it is being used by another process. at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86) ~[na:1.7.0_45] at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97) ~[na:1.7.0_45] at sun.nio.fs.WindowsFileCopy.move(WindowsFileCopy.java:301) ~[na:1.7.0_45] at sun.nio.fs.WindowsFileSystemProvider.move(WindowsFileSystemProvider.java:287) ~[na:1.7.0_45] at java.nio.file.Files.move(Files.java:1345) ~[na:1.7.0_45] at org.apache.cassandra.io.util.FileUtils.atomicMoveWithFallback(FileUtils.java:184) ~[main/:na] at org.apache.cassandra.io.util.FileUtils.renameWithConfirm(FileUtils.java:166) ~[main/:na] ... 18 common frames omitted {code}
    via by Leonid Shalupov,
  • Cassandra - No Rows Returned
    via by Unknown author,
  • 2.1 to 3.0 upgrade problems
    via by Eric Yablonowitz,
    • java.lang.AssertionError: null at org.apache.cassandra.io.compress.CompressionMetadata$Chunk.<init>(CompressionMetadata.java:475)[apache-cassandra-3.7.jar:3.7] at org.apache.cassandra.io.compress.CompressionMetadata.chunkFor(CompressionMetadata.java:240)[apache-cassandra-3.7.jar:3.7] at org.apache.cassandra.io.util.MmappedRegions.updateState(MmappedRegions.java:158)[apache-cassandra-3.7.jar:3.7] at org.apache.cassandra.io.util.MmappedRegions.<init>(MmappedRegions.java:73)[apache-cassandra-3.7.jar:3.7] at org.apache.cassandra.io.util.MmappedRegions.<init>(MmappedRegions.java:61)[apache-cassandra-3.7.jar:3.7] at org.apache.cassandra.io.util.MmappedRegions.map(MmappedRegions.java:99)[apache-cassandra-3.7.jar:3.7] at org.apache.cassandra.io.util.CompressedSegmentedFile.<init>(CompressedSegmentedFile.java:44)[apache-cassandra-3.7.jar:3.7] at org.apache.cassandra.io.util.CompressedSegmentedFile$Builder.complete(CompressedSegmentedFile.java:135)[apache-cassandra-3.7.jar:3.7] at org.apache.cassandra.io.util.SegmentedFile$Builder.complete(SegmentedFile.java:181)[apache-cassandra-3.7.jar:3.7] at org.apache.cassandra.io.util.SegmentedFile$Builder.buildData(SegmentedFile.java:192)[apache-cassandra-3.7.jar:3.7] at org.apache.cassandra.io.sstable.format.big.BigTableWriter.openEarly(BigTableWriter.java:271)[apache-cassandra-3.7.jar:3.7] at org.apache.cassandra.io.sstable.SSTableRewriter.maybeReopenEarly(SSTableRewriter.java:182)[apache-cassandra-3.7.jar:3.7] at org.apache.cassandra.io.sstable.SSTableRewriter.append(SSTableRewriter.java:134)[apache-cassandra-3.7.jar:3.7] at org.apache.cassandra.db.compaction.writers.DefaultCompactionWriter.realAppend(DefaultCompactionWriter.java:65)[apache-cassandra-3.7.jar:3.7] at org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.append(CompactionAwareWriter.java:141)[apache-cassandra-3.7.jar:3.7] at org.apache.cassandra.db.compaction.CompactionTask.runMayThrow(CompactionTask.java:187)[apache-cassandra-3.7.jar:3.7] at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)[apache-cassandra-3.7.jar:3.7] at org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:82)[apache-cassandra-3.7.jar:3.7] at org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:60)[apache-cassandra-3.7.jar:3.7] at org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate.run(CompactionManager.java:264)[apache-cassandra-3.7.jar:3.7] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[na:1.8.0_101] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_101] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_101] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_101] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_101]
    No Bugmate found.