Hello Anumod,
If you are using systemd you can use this one.
You may want to hardcode the limitNOFILE value if you don't have a new enough 
version of systemd in order to avoid this issue 
https://github.com/systemd/systemd/issues/6559 
(https://link.getmailspring.com/link/1522241261.local-0405fd00-babe-v1.1.5-5834c...@getmailspring.com/0?redirect=https%3A%2F%2Fgithub.com%2Fsystemd%2Fsystemd%2Fissues%2F6559&recipient=dXNlckBjYXNzYW5kcmEuYXBhY2hlLm9yZw%3D%3D)

# /etc/systemd/system/cassandra.service
[Unit]
Description=cassandra daemon
Wants=network-online.target
After=network-online.target

[Install]
WantedBy=multi-user.target

[Service]
ExecStart=/usr/local/cassandra/bin/cassandra -f -p 
/var/run/cassandra/cassandra.pid
Type=simple
User=cassandra
Group=cassandra
StandardOutput=journal
StandardError=inherit
Environment="CASSANDRA_HOME=/usr/local/cassandra" 
"CASSANDRA_CONF=/usr/local/cassandra/conf"
LimitNOFILE=infinity
TimeoutStopSec=10min
Restart=on-failure
PIDFile=/var/run/cassandra/cassandra.pid
ExecStop=/usr/local/cassandra/bin/nodetool disablegossip
ExecStop=/usr/local/cassandra/bin/nodetool disablethrift
ExecStop=/usr/local/cassandra/bin/nodetool drain
ExecStop=-/usr/local/cassandra/bin/nodetool stopdaemon

On mars 28 2018, at 2:20 am, Anumod Mullachery <anumodmullache...@gmail.com> 
wrote:
>
> Hi All ,
> I’ve installed Apache Cassandra( Tarball install )..
> But there is no way to see the Cassandra status / stop option .
>
>
> Anyone has the Apache Cassandra start / stop script for Cassandra 3.12
> Can some one help on this ?
>
> Thanks,
> Anumod
> Mob-718-844-3841
> PA,USA
>
> Sent from my iPhone
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org
> For additional commands, e-mail: user-h...@cassandra.apache.org
>

Reply via email to