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

Debian Package does not prompt the user to review the config files; it just replaces them causing trouble (since the daemon starts by default)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Urgent
    • Resolution: Not A Problem
    • None
    • Packaging
    • Ubuntu 12.04, Cassandra 2.0.16 -> 2.0.17

    • Critical

    Description

      We run Cassandra 2.0.16 on Ubuntu 12.04 and were trying to upgrade to 2.0.17 due to CASSANDRA-9662. The problem is that during the upgrade the we were not prompted how to handle cassandra-env.sh and cassandra-rackdc.properties.

      The output from the upgrade:

      ...
      Setting up cassandra (2.0.17) ...
      Installing new version of config file /etc/cassandra/cassandra-env.sh ...
      Installing new version of config file /etc/cassandra/cassandra-rackdc.properties ...
      vm.max_map_count = 1048575
      net.ipv4.tcp_keepalive_time = 300
      ...

      This meant that the nodes started automatically after the install with the wrong DC name.

      I don't think that these config files should have been replaced without the admin being asked; this doesn't appear to comply with standard Debian packages.

      Secondly if CASSANDRA-2356 was implemented the problem would not be as severe; i.e. it would be possible to workaround this issue. Whereas currently, there is no way to prevent the node when upgraded from starting in the wrong DC.

      Attachments

        Issue Links

          Activity

            People

              mshuler Michael Shuler
              synbit Vasilis
              Michael Shuler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: