incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom van den Berge <...@drillster.com>
Subject Re: Migration 1.2.14 to 2.0.8 causes "Tried to create duplicate hard link" at startup
Date Thu, 19 Jun 2014 20:09:08 GMT
It turns out this is caused by an earlier, failed attempt to upgrade.
Removing all pre-sstablemetamigration snapshot directories solved the issue.

Credits to Markus Eriksson.


On Wed, Jun 11, 2014 at 9:42 AM, Tom van den Berge <tom@drillster.com>
wrote:

> No, unfortunately I haven't.
>
>
>
>
> On Tue, Jun 10, 2014 at 5:35 PM, Chris Burroughs <
> chris.burroughs@gmail.com> wrote:
>
>> Were you able to solve or work around this problem?
>>
>>
>> On 06/05/2014 11:47 AM, Tom van den Berge wrote:
>>
>>> Hi,
>>>
>>> I'm trying to migrate a development 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)
>>>
>>>
>>> Does anyone have an idea how to solve this?
>>>
>>>
>>> Thanks,
>>> Tom
>>>
>>>
>>
>
>
> --
>
> Drillster BV
> Middenburcht 136
> 3452MT Vleuten
> Netherlands
>
> +31 30 755 5330
>
> Open your free account at www.drillster.com
>



-- 

Drillster BV
Middenburcht 136
3452MT Vleuten
Netherlands

+31 30 755 5330

Open your free account at www.drillster.com

Mime
View raw message