Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-5196

IllegalStateException thrown when running new installation with old data directories

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.2.2
    • None
    • None
    • CentOS 5.5

    • Low

    Description

      If you install 1.2.1 when there are existing data directories, the scrub operation fails, throwing this exception:

      ERROR [main] 2013-01-29 15:05:06,564 FileUtils.java (line 373) Stopping the gossiper and the RPC server
      ERROR [main] 2013-01-29 15:05:06,564 CassandraDaemon.java (line 387) Exception encountered during startup
      java.lang.IllegalStateException: No configured daemon
      at org.apache.cassandra.service.StorageService.stopRPCServer(StorageService.java:314)
      at org.apache.cassandra.io.util.FileUtils.handleFSError(FileUtils.java:375)
      at org.apache.cassandra.db.Directories.<init>(Directories.java:113)
      at org.apache.cassandra.db.Directories.create(Directories.java:91)
      at org.apache.cassandra.db.ColumnFamilyStore.scrubDataDirectories(ColumnFamilyStore.java:403)
      at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:174)
      at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:370)
      at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:413)

      This condition should produce a more reasonable exception.

      Attachments

        1. 5196.txt
          2 kB
          Aleksey Yeschenko

        Activity

          People

            aleksey Aleksey Yeschenko
            rstrickland Robert Strickland
            Aleksey Yeschenko
            Brandon Williams
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: