You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Thouraya TH <th...@gmail.com> on 2015/06/20 14:28:44 UTC
how the binary ‘cassandra’ will recognize the path to the file cassandra.yaml ?
Hi all;
I have, yesterday, downloaded cassandra archive and unpack it. I have this
following structure:
https://www.dropbox.com/s/4s0xb1os3gi8dr6/cassandra.PNG?dl=0
I have change some configs in the yaml (listen_address, seeds,
rpc_address).
My question: how the binary ‘cassandra’ will recognize the path to the file
cassandra.yaml ?
Thanks a lot.
Best Regards.
Re: how the binary ‘cassandra’ will recognize the path to the file cassandra.yaml ?
Posted by Paulo Motta <pa...@gmail.com>.
in a tarball installation, the location of cassandra.yaml is defined by the
property $CASSANDRA_CONF defined on bin/cassandra.in.sh
this file is located by the bin/cassandra binary, and can be in one of the
following directories:
bin/cassandra.in.sh
~/.cassandra.in.sh
/usr/share/cassandra/cassandra.in.sh
/usr/local/share/cassandra/cassandra.in.sh
/opt/cassandra/cassandra.in.sh
you may find documentation on that by reading the "CONTROLLING STARTUP"
section of your bin/cassandra executable
2015-06-20 9:28 GMT-03:00 Thouraya TH <th...@gmail.com>:
> Hi all;
>
> I have, yesterday, downloaded cassandra archive and unpack it. I have
> this following structure:
> https://www.dropbox.com/s/4s0xb1os3gi8dr6/cassandra.PNG?dl=0
> I have change some configs in the yaml (listen_address, seeds,
> rpc_address).
>
> My question: how the binary ‘cassandra’ will recognize the path to the
> file cassandra.yaml ?
>
> Thanks a lot.
> Best Regards.
>