[
https://issues.apache.org/jira/browse/CASSANDRA-21416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Miklosovic updated CASSANDRA-21416:
------------------------------------------
Description:
Sometimes when I kill Cassandra e.g. in IDEA I happen to see this:
{code}
INFO [IndexSummaryManager:1] 2026-06-01T23:08:28,152
IndexSummaryRedistribution.java:273 - index summaries: downsample: 0, force
resample: 0, upsample: 0, force upsample: 0
INFO [IndexSummaryManager:1] 2026-06-01T23:08:28,153
IndexSummaryRedistribution.java:156 - Completed resizing of index summaries;
current approximate memory used: 7.448196411132812E-4 MiB, time spent: 1ms
WARN [Thread-2] 2026-06-02T08:23:49,345 PathUtils.java:738 - Failed to delete
/tmp/lib on exit
java.io.UncheckedIOException: null
at
org.apache.cassandra.io.util.PathUtils.propagateUnchecked(PathUtils.java:880)
at
org.apache.cassandra.io.util.PathUtils.propagateUnchecked(PathUtils.java:865)
at org.apache.cassandra.io.util.PathUtils.delete(PathUtils.java:280)
at
org.apache.cassandra.io.util.PathUtils$DeleteOnExit.run(PathUtils.java:734)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.nio.file.DirectoryNotEmptyException: /tmp/lib
at
java.base/sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:247)
at
java.base/sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:105)
at java.base/java.nio.file.Files.delete(Files.java:1142)
at org.apache.cassandra.io.util.PathUtils.delete(PathUtils.java:275)
... 2 common frames omitted
INFO [StorageServiceShutdownHook] 2026-06-02T08:23:49,347
HintsService.java:269 - Paused hints dispatch
INFO [StorageServiceShutdownHook] 2026-06-02T08:23:49,349 Server.java:220 -
Stop listening for CQL clients
INFO [StorageServiceShutdownHook] 2026-06-02T08:23:49,349 Gossiper.java:1895 -
Announcing shutdown
INFO [StorageServiceShutdownHook] 2026-06-02T08:23:49,350
StorageService.java:2226 - Node localhost/127.0.0.1:7000 state jump to shutdown
{code}
I think I saw at least once that this was happening without IDEA.
When I list /tmp/lib after it is turned off, that dir is empty.
was:
Sometimes when I kill Cassandra e.g. in IDEA I happen to see this:
{code}
WARN [Thread-2] 2026-06-02T08:23:49,345 PathUtils.java:738 - Failed to delete
/tmp/lib on exit
java.io.UncheckedIOException: null
at
org.apache.cassandra.io.util.PathUtils.propagateUnchecked(PathUtils.java:880)
at
org.apache.cassandra.io.util.PathUtils.propagateUnchecked(PathUtils.java:865)
at org.apache.cassandra.io.util.PathUtils.delete(PathUtils.java:280)
at
org.apache.cassandra.io.util.PathUtils$DeleteOnExit.run(PathUtils.java:734)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.nio.file.DirectoryNotEmptyException: /tmp/lib
at
java.base/sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:247)
at
java.base/sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:105)
at java.base/java.nio.file.Files.delete(Files.java:1142)
at org.apache.cassandra.io.util.PathUtils.delete(PathUtils.java:275)
... 2 common frames omitted
{code}
I think I saw at least once that this was happening without IDEA.
When I list /tmp/lib after it is turned off, that dir is empty.
> java.nio.file.DirectoryNotEmptyException: /tmp/lib
> --------------------------------------------------
>
> Key: CASSANDRA-21416
> URL: https://issues.apache.org/jira/browse/CASSANDRA-21416
> Project: Apache Cassandra
> Issue Type: Bug
> Components: Legacy/Core
> Reporter: Stefan Miklosovic
> Priority: Normal
>
> Sometimes when I kill Cassandra e.g. in IDEA I happen to see this:
> {code}
> INFO [IndexSummaryManager:1] 2026-06-01T23:08:28,152
> IndexSummaryRedistribution.java:273 - index summaries: downsample: 0, force
> resample: 0, upsample: 0, force upsample: 0
> INFO [IndexSummaryManager:1] 2026-06-01T23:08:28,153
> IndexSummaryRedistribution.java:156 - Completed resizing of index summaries;
> current approximate memory used: 7.448196411132812E-4 MiB, time spent: 1ms
> WARN [Thread-2] 2026-06-02T08:23:49,345 PathUtils.java:738 - Failed to
> delete /tmp/lib on exit
> java.io.UncheckedIOException: null
> at
> org.apache.cassandra.io.util.PathUtils.propagateUnchecked(PathUtils.java:880)
> at
> org.apache.cassandra.io.util.PathUtils.propagateUnchecked(PathUtils.java:865)
> at org.apache.cassandra.io.util.PathUtils.delete(PathUtils.java:280)
> at
> org.apache.cassandra.io.util.PathUtils$DeleteOnExit.run(PathUtils.java:734)
> at java.base/java.lang.Thread.run(Thread.java:829)
> Caused by: java.nio.file.DirectoryNotEmptyException: /tmp/lib
> at
> java.base/sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:247)
> at
> java.base/sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:105)
> at java.base/java.nio.file.Files.delete(Files.java:1142)
> at org.apache.cassandra.io.util.PathUtils.delete(PathUtils.java:275)
> ... 2 common frames omitted
> INFO [StorageServiceShutdownHook] 2026-06-02T08:23:49,347
> HintsService.java:269 - Paused hints dispatch
> INFO [StorageServiceShutdownHook] 2026-06-02T08:23:49,349 Server.java:220 -
> Stop listening for CQL clients
> INFO [StorageServiceShutdownHook] 2026-06-02T08:23:49,349 Gossiper.java:1895
> - Announcing shutdown
> INFO [StorageServiceShutdownHook] 2026-06-02T08:23:49,350
> StorageService.java:2226 - Node localhost/127.0.0.1:7000 state jump to
> shutdown
> {code}
> I think I saw at least once that this was happening without IDEA.
> When I list /tmp/lib after it is turned off, that dir is empty.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]