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

bin/cassandra is hardwired to run CassandraDaemon and in some instances it is necessary to run a custom "main"

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Invalid
    • 0.7.0 rc 3
    • Packaging
    • None

    Description

      In my particular case we use Zabbix as a monitoring tool and it requires an agent to run in the JVM. so the solution is to start the agent, then call CassandraDaemon.main.

      my solution for a more generic "bin/cassandra" script is to check if a CLASSNAME is provided in the environment. if so use it, if not use the default CassandraDaemon.

      patch attached.

      Attachments

        1. patch.txt
          0.9 kB
          B. Todd Burruss

        Activity

          People

            btoddb B. Todd Burruss
            btoddb B. Todd Burruss
            B. Todd Burruss
            Eric Evans
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: