java.io.IOException: Exception while executing the command: cmd /c mklink /H C:\Users\Jonathan\projects\cassandra\git\build\test\cassandra\data\Keyspace1\backups\Standard1-hc-2-Statistics.db c:\Users\Jonathan\projects\cassandra\git\build\test\cassandra\data\Keyspace1\Standard1-hc-2-Statistics.db, command error Code: 1, command output: Cannot create a file when that file already exists.

grokbase.com | 4 months ago
  1. 0

    [Cassandra-commits] [jira] [Created] (CASSANDRA-3642) Failed to delete any Index.db on Windows - Grokbase

    grokbase.com | 4 months ago
    java.io.IOException: Exception while executing the command: cmd /c mklink /H C:\Users\Jonathan\projects\cassandra\git\build\test\cassandra\data\Keyspace1\backups\Standard1-hc-2-Statistics.db c:\Users\Jonathan\projects\cassandra\git\build\test\cassandra\data\Keyspace1\Standard1-hc-2-Statistics.db, command error Code: 1, command output: Cannot create a file when that file already exists.
  2. 0

    Re: Snapshot failing on JSON files in 1.1.0

    Google Groups | 5 years ago | Brandon Williams
    java.io.IOError: java.io.IOException: Unable to create hard link from /raid0/cassandra/data/cassa_teads/stats_product-hc-233-Index.db to /raid0/cassandra/data/cassa_teads/snapshots/20120528/stats_product-hc-233-Index.db (errno 0)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Errors with Cassandra 1.0.10, 1.1.0, 1.1.1-SNAPSHOT and 1.2.0-SNAPSHOT

    Google Groups | 5 years ago | Horacio G. de Oro
    java.io.IOException: Exception while executing the command: ln /var/lib/cassandra/data/lolog_tests/Logs_by_app/lolog_tests-Logs_by_app-ia-3-Summary.db /var/lib/cassandra/data/lolog_tests/Logs_by_app/snapshots/1338680860345-Logs_by_app/lolog_tests-Logs_by_app-ia-3-Summary.db, command error Code: 1, command output: ln: failed to create hard link `/var/lib/cassandra/data/lolog_tests/Logs_by_app/snapshots/1338680860345-Logs_by_app/lolog_tests-Logs_by_app-ia-3-Summary.db': File exists
  5. 0

    IOException: Unable to create hard link ... /snapshots/ ... (errno 17)

    Google Groups | 6 years ago | Mck
    java.io.IOError: java.io.IOException: Unable to create hard link from /iad/finn/countstatistics/cassandra-data/countstatisticsCount/thrift_no_finntech_countstats_count_Count_1299479381593068337-f-3875-Data.db to /iad/finn/countstatistics/cassandra-data/countstatisticsCount/snapshots/compact-thrift_no_finntech_countstats_count_Count_1299479381593068337/thrift_no_finntech_countstats_count_Count_1299479381593068337-f-3875-Data.db (errno 17)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      Exception while executing the command: cmd /c mklink /H C:\Users\Jonathan\projects\cassandra\git\build\test\cassandra\data\Keyspace1\backups\Standard1-hc-2-Statistics.db c:\Users\Jonathan\projects\cassandra\git\build\test\cassandra\data\Keyspace1\Standard1-hc-2-Statistics.db, command error Code: 1, command output: Cannot create a file when that file already exists.

      at org.apache.cassandra.utils.CLibrary.exec()
    2. Apache Cassandra
      CLibrary.createHardLink
      1. org.apache.cassandra.utils.CLibrary.exec(CLibrary.java:213)
      2. org.apache.cassandra.utils.CLibrary.createHardLinkWithExec(CLibrary.java:188)
      3. org.apache.cassandra.utils.CLibrary.createHardLink(CLibrary.java:151)
      3 frames
    3. org.apache.cassandra
      DataTracker$1.runMayThrow
      1. org.apache.cassandra.io.sstable.SSTableReader.createLinks(SSTableReader.java:833)
      2. org.apache.cassandra.db.DataTracker$1.runMayThrow(DataTracker.java:161)
      2 frames
    4. Apache Cassandra
      WrappedRunnable.run
      1. org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
      1 frame
    5. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
      5. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
      6. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      7. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      8. java.lang.Thread.run(Thread.java:662)
      8 frames