You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Marcus Eriksson (JIRA)" <ji...@apache.org> on 2014/06/19 11:14:24 UTC
[jira] [Commented] (CASSANDRA-7418) Cannot upgrade: Tried to create
duplicate hard link
[ https://issues.apache.org/jira/browse/CASSANDRA-7418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14037157#comment-14037157 ]
Marcus Eriksson commented on CASSANDRA-7418:
--------------------------------------------
IIRC this happens if you try upgrading twice, maybe something (else) went wrong the first time?
I guess you can try removing the old snapshot (or just renaming the directory should be enough) and then trying to upgrade again
> Cannot upgrade: Tried to create duplicate hard link
> ---------------------------------------------------
>
> Key: CASSANDRA-7418
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7418
> Project: Cassandra
> Issue Type: Bug
> Environment: OSX
> Reporter: Tom van den Berge
> Priority: Critical
>
> I'm trying to migrate a cluster from 1.2.14 to 2.0.8. When starting up 2.0.8, I'm seeing the following error in the logs:
> INFO 17:40:25,405 Snapshotting drillster, Account to pre-sstablemetamigration
> ERROR 17:40:25,407 Exception encountered during startup
> java.lang.RuntimeException: Tried to create duplicate hard link to /Users/tom/cassandra-data/data/drillster/Account/snapshots/pre-sstablemetamigration/drillster-Account-ic-65-Filter.db
> at org.apache.cassandra.io.util.FileUtils.createHardLink(FileUtils.java:75)
> at org.apache.cassandra.db.compaction.LegacyLeveledManifest.snapshotWithoutCFS(LegacyLeveledManifest.java:129)
> at org.apache.cassandra.db.compaction.LegacyLeveledManifest.migrateManifests(LegacyLeveledManifest.java:91)
> at org.apache.cassandra.db.compaction.LeveledManifest.maybeMigrateManifests(LeveledManifest.java:617)
> at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:274)
> at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:496)
> at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:585)
> As a result, I can't start up 2.0.8, and switching back to 1.2.14 also doesn't work.
--
This message was sent by Atlassian JIRA
(v6.2#6252)