[Developer tutorial Part1] Configuration Directives
3 archivos principales de configuración:
Lets take a look at the three main configuration files for Apache Cassandra. To view the configuration files, from the root console type the following:
Now we will look at each in more detail
The cassandra.yaml file is the main configuration file for Cassandra. After changing properties in this file, you must restart your instance for the changes to take effect. In this file, you can find properties to tune performance and system resource utilization (memory, disk I/O, CPU, etc.) for reads and writes. It also contains node and cluster initialization properties.
The cassandra-env.sh file in part controls the environment settings for Cassandra. It has heap sizing options(MAX_HEAP_SIZE, HEAP_NEWSIZE) and JMX options which can be monitored or manipulated, like nodetool, an JMX-compliment management tool. By default, JMX listens on port 7199 without authentication.
If you are interested in configuring logging, you should look at the the log4j-server.properties file. In some situations, the output from nodetool utility is not enough to diagnose an issue. If you find that you need more information on runtime behavior of your instance, you can increase the logging levels to get more diagnostic information on specific portions of the system.
Podemos ver la información de cada archivo en la consola de root con el comando:
y podemos cambiarlos en un editor de texto.
para más información en los archivos de configuración:
http://wiki.apache.org/cassandra/StorageConfiguration
"Where are my keyspaces?"
LiveSchemaUpdates. You can load the schema once by using:
bin/schematool HOST PORT import