[Cassandra]: Overview andInstallation

Prerequisites :
=============

Latest version of Oracle Java SE Runtime Environment (JRE) 7.
Java Native Access (JNA) is required for production installations (latest version recommended).
Python 2.6+ (needed if installing OpsCenter).
If you are using an older RHEL-based Linux distribution, such as CentOS-5, you may see the following error: GLIBCXX_3.4.9 not found.
You must replace the Snappy compression/decompression library (snappy-java-1.0.5.jar) with the snappy-java-1.0.4.1.jar.
Download your copy from any of below links :

http://www.apache.org/dyn/closer.cgi?path=/cassandra/2.1.2/apache-cassandra-2.1.2-bin.tar.gz
http://downloads.datastax.com/community/dsc-2.0.tar.gz

Procedure :
=========

In a terminal window:

Check which version of Java is installed by running the following command:
$ java -version

Use the latest version of Oracle Java 7 on all nodes.

Download the DataStax Community:
$ curl -L http://downloads.datastax.com/community/dsc-2.0.tar.gz | tar xz

 
Check Download DataStax Community Edition on Planet Cassandra for the latest version.

You can also download from Planet Cassandra. Go to the install directory:
$ cd dsc-cassandra-2.0.x

The DataStax Community distribution of Cassandra is ready for configuration

[root@dbversitydotcom 4]# tar -zxvf apache-cassandra-2.1.2-bin.tar.gz
apache-cassandra-2.1.2/bin/
apache-cassandra-2.1.2/conf/
apache-cassandra-2.1.2/conf/triggers/
apache-cassandra-2.1.2/interface/
apache-cassandra-2.1.2/javadoc/
apache-cassandra-2.1.2/javadoc/org/
apache-cassandra-2.1.2/javadoc/org/apache/
apache-cassandra-2.1.2/javadoc/org/apache/cassandra/
apache-cassandra-2.1.2/javadoc/org/apache/cassandra/auth/

—- blah blah blah ——-

apache-cassandra-2.1.2/tools/bin/sstablesplit.bat
apache-cassandra-2.1.2/tools/bin/token-generator
[root@dbversitydotcom 4]#
[root@dbversitydotcom 4]# mv apache-cassandra-2.1.2 cassandra -R
[root@dbversitydotcom 4]#
[root@dbversitydotcom 4]# ll -lhtr
total 22M
drwx—— 2 root root 16K Aug 27 15:45 lost+found
-rw-r–r– 1 root root 22M Nov 27 04:30 apache-cassandra-2.1.2-bin.tar.gz
drwxr-xr-x 9 root root 4.0K Nov 27 04:34 cassandra
[root@dbversitydotcom 4]#

[root@dbversitydotcom 4]# cd cassandra/
[root@dbversitydotcom cassandra]#
[root@dbversitydotcom cassandra]#
[root@dbversitydotcom cassandra]# ll -lhtr
total 332K
-rw-r–r– 1 root root 63K Nov 27 04:34 NEWS.txt
drwxr-xr-x 4 root root 4.0K Nov 27 04:34 javadoc
drwxr-xr-x 2 root root 4.0K Nov 27 04:34 interface
drwxr-xr-x 4 root root 4.0K Nov 27 04:34 tools
drwxr-xr-x 3 root root 4.0K Nov 27 04:34 pylib
drwxr-xr-x 2 root root 4.0K Nov 27 04:34 bin
drwxr-xr-x 3 root root 4.0K Nov 27 04:34 conf
-rw-r–r– 1 root root 223K Nov 27 04:34 CHANGES.txt
drwxr-xr-x 3 root root 4.0K Nov 27 04:34 lib
-rw-r–r– 1 root root 2.1K Nov 27 04:34 NOTICE.txt
-rw-r–r– 1 root root 12K Nov 27 04:34 LICENSE.txt
[root@dbversitydotcom cassandra]#
[root@dbversitydotcom cassandra]# cd bin/
[root@dbversitydotcom bin]#
[root@dbversitydotcom bin]# ll -lhtr
total 196K
-rwxr-xr-x 1 root root 6.2K Nov 27 04:34 stop-server.ps1
-rwxr-xr-x 1 root root 2.5K Nov 27 04:34 stop-server.bat
-rwxr-xr-x 1 root root 1.8K Nov 27 04:34 sstableloader
-rwxr-xr-x 1 root root 1.4K Nov 27 04:34 sstablekeys.bat
-rwxr-xr-x 1 root root 1.1K Nov 27 04:34 cqlsh.bat
-rwxr-xr-x 1 root root 74K Nov 27 04:34 cqlsh
-rwxr-xr-x 1 root root 14K Nov 27 04:34 cassandra.ps1
-rwxr-xr-x 1 root root 1.2K Nov 27 04:34 stop-server
-rwxr-xr-x 1 root root 1.4K Nov 27 04:34 sstableupgrade.bat
-rwxr-xr-x 1 root root 1.8K Nov 27 04:34 sstableupgrade
-rwxr-xr-x 1 root root 1.4K Nov 27 04:34 sstablescrub.bat
-rwxr-xr-x 1 root root 1.9K Nov 27 04:34 sstablescrub
-rwxr-xr-x 1 root root 1.9K Nov 27 04:34 sstablekeys
-rwxr-xr-x 1 root root 1.3K Nov 27 04:34 nodetool.bat
-rwxr-xr-x 1 root root 2.9K Nov 27 04:34 nodetool
-rwxr-xr-x 1 root root 1.4K Nov 27 04:34 debug-cql.bat
-rwxr-xr-x 1 root root 2.2K Nov 27 04:34 debug-cql
-rw-r–r– 1 root root 2.0K Nov 27 04:34 cassandra.in.sh
-rwxr-xr-x 1 root root 2.0K Nov 27 04:34 cassandra.in.bat
-rwxr-xr-x 1 root root 1.3K Nov 27 04:34 cassandra-cli.bat
-rwxr-xr-x 1 root root 1.8K Nov 27 04:34 cassandra-cli
-rwxr-xr-x 1 root root 7.5K Nov 27 04:34 cassandra
-rwxr-xr-x 1 root root 1.4K Nov 27 04:34 sstableloader.bat
-rwxr-xr-x 1 root root 2.0K Nov 27 04:34 source-conf.ps1
-rwxr-xr-x 1 root root 5.8K Nov 27 04:34 cassandra.bat
[root@dbversitydotcom bin]#

Initializing a multiple node cluster (single data center)

You can initialize a Cassandra cluster with a single data center.

Prerequisites :
==============

Each node must be correctly configured before starting the cluster. You must determine or perform the following before starting the cluster:

A good understanding of how Cassandra works. Be sure to read at least Understanding the architecture, Data replication, and Cassandra’s rack feature.
Install Cassandra on each node.
Choose a name for the cluster.
Get the IP address of each node.
Determine which nodes will be seed nodes. Do not make all nodes seeds. (Cassandra nodes use the seed node list for finding each other and learning the topology of the ring.)
Determine the snitch and replication strategy. The GossipingPropertyFileSnitch and NetworkTopologyStrategy are recommended for production environments.
If using multiple data centers, determine a naming convention for each data center and rack, for example: DC1, DC2 or 100, 200 and RAC1, RAC2 or R101, R102.
Choose the name carefully; renaming a data center is not possible.
Other possible configuration settings are described in The cassandra.yaml configuration file and property files such as cassandra-rackdc.properties.

This example describes installing a 6 node cluster spanning 2 racks in a single data center.
Each node is configured to use the GossipingPropertyFileSnitch and 256 virtual nodes (vnodes).

In Cassandra, the term data center is a grouping of nodes.
Data center is synonymous with replication group, that is, a grouping of nodes configured together for replication purposes.
[root@dbversitydotcom cassandra]# pwd
/data/4/cassandra
[root@dbversitydotcom cassandra]#
[root@dbversitydotcom cassandra]#
[root@dbversitydotcom cassandra]# bin/cassandra
[root@dbversitydotcom cassandra]# CompilerOracle: inline org/apache/cassandra/db/AbstractNativeCell.compareTo (Lorg/apache/cassandra/db/composites/Composite;)I
CompilerOracle: inline org/apache/cassandra/db/composites/AbstractSimpleCellNameType.compareUnsigned (Lorg/apache/cassandra/db/composites/Composite;Lorg/apache/cassandra/db/composites/Composite;)I
CompilerOracle: inline org/apache/cassandra/utils/ByteBufferUtil.compare (Ljava/nio/ByteBuffer;[B)I
CompilerOracle: inline org/apache/cassandra/utils/ByteBufferUtil.compare ([BLjava/nio/ByteBuffer;)I
CompilerOracle: inline org/apache/cassandra/utils/ByteBufferUtil.compareUnsigned (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
CompilerOracle: inline org/apache/cassandra/utils/FastByteOperations$UnsafeOperations.compareTo (Ljava/lang/Object;JILjava/lang/Object;JI)I
CompilerOracle: inline org/apache/cassandra/utils/FastByteOperations$UnsafeOperations.compareTo (Ljava/lang/Object;JILjava/nio/ByteBuffer;)I
CompilerOracle: inline org/apache/cassandra/utils/FastByteOperations$UnsafeOperations.compareTo (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
INFO 10:03:43 Hostname: dbversitydotcom.nam.nsroot.net
INFO 10:03:43 Loading settings from file:/data/4/cassandra/conf/cassandra.yaml
INFO 10:03:43 Node configuration:[authenticator=AllowAllAuthenticator; authorizer=AllowAllAuthorizer; auto_snapshot=true; batch_size_warn_threshold_in_kb=5; batchlog_replay_throttle_in_kb=1024; cas_contention_timeout_in_ms=1000; client_encryption_options=<REDACTED>; cluster_name=Test Cluster; column_index_size_in_kb=64; commit_failure_policy=stop; commitlog_segment_size_in_mb=32; commitlog_sync=periodic; commitlog_sync_period_in_ms=10000; compaction_throughput_mb_per_sec=16; concurrent_counter_writes=32; concurrent_reads=32; concurrent_writes=32; counter_cache_save_period=7200; counter_cache_size_in_mb=null; counter_write_request_timeout_in_ms=5000; cross_node_timeout=false; disk_failure_policy=stop; dynamic_snitch_badness_threshold=0.1; dynamic_snitch_reset_interval_in_ms=600000; dynamic_snitch_update_interval_in_ms=100; endpoint_snitch=SimpleSnitch; hinted_handoff_enabled=true; hinted_handoff_throttle_in_kb=1024; incremental_backups=false; index_summary_capacity_in_mb=null; index_summary_resize_interval_in_minutes=60; inter_dc_tcp_nodelay=false; internode_compression=all; key_cache_save_period=14400; key_cache_size_in_mb=null; listen_address=localhost; max_hint_window_in_ms=10800000; max_hints_delivery_threads=2; memtable_allocation_type=heap_buffers; native_transport_port=9042; num_tokens=256; partitioner=org.apache.cassandra.dht.Murmur3Partitioner; permissions_validity_in_ms=2000; range_request_timeout_in_ms=10000; read_request_timeout_in_ms=5000; request_scheduler=org.apache.cassandra.scheduler.NoScheduler; request_timeout_in_ms=10000; row_cache_save_period=0; row_cache_size_in_mb=0; rpc_address=localhost; rpc_keepalive=true; rpc_port=9160; rpc_server_type=sync; seed_provider=[{class_name=org.apache.cassandra.locator.SimpleSeedProvider, parameters=[{seeds=127.0.0.1}]}]; server_encryption_options=<REDACTED>; snapshot_before_compaction=false; ssl_storage_port=7001; sstable_preemptive_open_interval_in_mb=50; start_native_transport=true; start_rpc=true; storage_port=7000; thrift_framed_transport_size_in_mb=15; tombstone_failure_threshold=100000; tombstone_warn_threshold=1000; trickle_fsync=false; trickle_fsync_interval_in_kb=10240; truncate_request_timeout_in_ms=60000; write_request_timeout_in_ms=2000]
INFO 10:03:43 DiskAccessMode ‘auto’ determined to be mmap, indexAccessMode is mmap
INFO 10:03:43 Global memtable on-heap threshold is enabled at 976MB
INFO 10:03:43 Global memtable off-heap threshold is enabled at 976MB
INFO 10:03:45 Loading settings from file:/data/4/cassandra/conf/cassandra.yaml
INFO 10:03:45 Node configuration:[authenticator=AllowAllAuthenticator; authorizer=AllowAllAuthorizer; auto_snapshot=true; batch_size_warn_threshold_in_kb=5; batchlog_replay_throttle_in_kb=1024; cas_contention_timeout_in_ms=1000; client_encryption_options=<REDACTED>; cluster_name=Test Cluster; column_index_size_in_kb=64; commit_failure_policy=stop; commitlog_segment_size_in_mb=32; commitlog_sync=periodic; commitlog_sync_period_in_ms=10000; compaction_throughput_mb_per_sec=16; concurrent_counter_writes=32; concurrent_reads=32; concurrent_writes=32; counter_cache_save_period=7200; counter_cache_size_in_mb=null; counter_write_request_timeout_in_ms=5000; cross_node_timeout=false; disk_failure_policy=stop; dynamic_snitch_badness_threshold=0.1; dynamic_snitch_reset_interval_in_ms=600000; dynamic_snitch_update_interval_in_ms=100; endpoint_snitch=SimpleSnitch; hinted_handoff_enabled=true; hinted_handoff_throttle_in_kb=1024; incremental_backups=false; index_summary_capacity_in_mb=null; index_summary_resize_interval_in_minutes=60; inter_dc_tcp_nodelay=false; internode_compression=all; key_cache_save_period=14400; key_cache_size_in_mb=null; listen_address=localhost; max_hint_window_in_ms=10800000; max_hints_delivery_threads=2; memtable_allocation_type=heap_buffers; native_transport_port=9042; num_tokens=256; partitioner=org.apache.cassandra.dht.Murmur3Partitioner; permissions_validity_in_ms=2000; range_request_timeout_in_ms=10000; read_request_timeout_in_ms=5000; request_scheduler=org.apache.cassandra.scheduler.NoScheduler; request_timeout_in_ms=10000; row_cache_save_period=0; row_cache_size_in_mb=0; rpc_address=localhost; rpc_keepalive=true; rpc_port=9160; rpc_server_type=sync; seed_provider=[{class_name=org.apache.cassandra.locator.SimpleSeedProvider, parameters=[{seeds=127.0.0.1}]}]; server_encryption_options=<REDACTED>; snapshot_before_compaction=false; ssl_storage_port=7001; sstable_preemptive_open_interval_in_mb=50; start_native_transport=true; start_rpc=true; storage_port=7000; thrift_framed_transport_size_in_mb=15; tombstone_failure_threshold=100000; tombstone_warn_threshold=1000; trickle_fsync=false; trickle_fsync_interval_in_kb=10240; truncate_request_timeout_in_ms=60000; write_request_timeout_in_ms=2000]
INFO 10:03:45 JVM vendor/version: Java HotSpot(TM) 64-Bit Server VM/1.7.0_71
INFO 10:03:45 Heap size: 4095737856/4095737856
INFO 10:03:45 Code Cache Non-heap memory: init = 2555904(2496K) used = 724544(707K) committed = 2555904(2496K) max = 50331648(49152K)
INFO 10:03:45 Par Eden Space Heap memory: init = 671088640(655360K) used = 134244464(131098K) committed = 671088640(655360K) max = 671088640(655360K)
INFO 10:03:45 Par Survivor Space Heap memory: init = 83886080(81920K) used = 0(0K) committed = 83886080(81920K) max = 83886080(81920K)
INFO 10:03:45 CMS Old Gen Heap memory: init = 3340763136(3262464K) used = 0(0K) committed = 3340763136(3262464K) max = 3340763136(3262464K)
INFO 10:03:45 CMS Perm Gen Non-heap memory: init = 21757952(21248K) used = 17328400(16922K) committed = 21757952(21248K) max = 85983232(83968K)
INFO 10:03:45 Classpath: bin/../conf:bin/../build/classes/main:bin/../build/classes/thrift:bin/../lib/airline-0.6.jar:bin/../lib/antlr-runtime-3.5.2.jar:bin/../lib/apache-cassandra-2.1.2.jar:bin/../lib/apache-cassandra-clientutil-2.1.2.jar:bin/../lib/apache-cassandra-thrift-2.1.2.jar:bin/../lib/commons-cli-1.1.jar:bin/../lib/commons-codec-1.2.jar:bin/../lib/commons-lang3-3.1.jar:bin/../lib/commons-math3-3.2.jar:bin/../lib/compress-lzf-0.8.4.jar:bin/../lib/concurrentlinkedhashmap-lru-1.4.jar:bin/../lib/disruptor-3.0.1.jar:bin/../lib/guava-16.0.jar:bin/../lib/high-scale-lib-1.0.6.jar:bin/../lib/jackson-core-asl-1.9.2.jar:bin/../lib/jackson-mapper-asl-1.9.2.jar:bin/../lib/jamm-0.2.8.jar:bin/../lib/javax.inject.jar:bin/../lib/jbcrypt-0.3m.jar:bin/../lib/jline-1.0.jar:bin/../lib/jna-4.0.0.jar:bin/../lib/json-simple-1.1.jar:bin/../lib/libthrift-0.9.1.jar:bin/../lib/logback-classic-1.1.2.jar:bin/../lib/logback-core-1.1.2.jar:bin/../lib/lz4-1.2.0.jar:bin/../lib/metrics-core-2.2.0.jar:bin/../lib/netty-all-4.0.23.Final.jar:bin/../lib/reporter-config-2.1.0.jar:bin/../lib/slf4j-api-1.7.2.jar:bin/../lib/snakeyaml-1.11.jar:bin/../lib/snappy-java-1.0.5.2.jar:bin/../lib/stream-2.5.2.jar:bin/../lib/stringtemplate-4.0.2.jar:bin/../lib/super-csv-2.1.0.jar:bin/../lib/thrift-server-0.3.7.jar:bin/../lib/jamm-0.2.8.jar
INFO 10:04:16 JNA mlockall successful
ERROR 10:04:17 Directory bin/../data/data doesn’t exist
ERROR 10:04:17 Directory bin/../data/commitlog doesn’t exist
ERROR 10:04:17 Directory bin/../data/saved_caches doesn’t exist
INFO 10:04:17 Initializing key cache with capacity of 100 MBs.
INFO 10:04:17 Initializing row cache with capacity of 0 MBs
INFO 10:04:17 Initializing counter cache with capacity of 50 MBs
INFO 10:04:17 Scheduling counter cache save to every 7200 seconds (going to save all keys).
INFO 10:04:17 Initializing system.schema_triggers
INFO 10:04:19 Initializing system.compaction_history
INFO 10:04:19 Initializing system.batchlog
INFO 10:04:19 Initializing system.sstable_activity
INFO 10:04:19 Initializing system.peer_events
INFO 10:04:19 Initializing system.compactions_in_progress
INFO 10:04:19 Initializing system.hints
INFO 10:04:19 Initializing system.schema_keyspaces
INFO 10:04:19 Initializing system.range_xfers
INFO 10:04:19 Initializing system.schema_columnfamilies
INFO 10:04:19 Initializing system.paxos
INFO 10:04:19 Initializing system.schema_columns
INFO 10:04:19 Initializing system.schema_usertypes
INFO 10:04:19 Initializing system.IndexInfo
INFO 10:04:19 Initializing system.peers
INFO 10:04:19 Initializing system.local
INFO 10:04:20 Couldn’t detect any schema definitions in local storage.
INFO 10:04:20 To create keyspaces and column families, see ‘help create’ in cqlsh.
INFO 10:04:21 Enqueuing flush of local: 1149 (0%) on-heap, 0 (0%) off-heap
INFO 10:04:21 Writing Memtable-local@1523866113(228 serialized bytes, 5 ops, 0%/0% of on/off-heap limit)
INFO 10:04:21 Completed flushing /data/4/cassandra/bin/../data/data/system/local-7ad54392bcdd35a684174e047860b377/system-local-ka-1-Data.db (177 bytes) for commitlog position ReplayPosition(segmentId=1417082659377, position=399)
INFO 10:04:21 No commitlog files found; skipping replay
INFO 10:04:22 Cassandra version: 2.1.2
INFO 10:04:22 Thrift API version: 19.39.0
INFO 10:04:22 CQL supported versions: 2.0.0,3.2.0 (default: 3.2.0)
INFO 10:04:22 Initializing index summary manager with a memory pool size of 195 MB and a resize interval of 60 minutes
INFO 10:04:22 Loading persisted ring state
INFO 10:04:22 Loading settings from file:/data/4/cassandra/conf/cassandra.yaml
INFO 10:04:22 Node configuration:[authenticator=AllowAllAuthenticator; authorizer=AllowAllAuthorizer; auto_snapshot=true; batch_size_warn_threshold_in_kb=5; batchlog_replay_throttle_in_kb=1024; cas_contention_timeout_in_ms=1000; client_encryption_options=<REDACTED>; cluster_name=Test Cluster; column_index_size_in_kb=64; commit_failure_policy=stop; commitlog_segment_size_in_mb=32; commitlog_sync=periodic; commitlog_sync_period_in_ms=10000; compaction_throughput_mb_per_sec=16; concurrent_counter_writes=32; concurrent_reads=32; concurrent_writes=32; counter_cache_save_period=7200; counter_cache_size_in_mb=null; counter_write_request_timeout_in_ms=5000; cross_node_timeout=false; disk_failure_policy=stop; dynamic_snitch_badness_threshold=0.1; dynamic_snitch_reset_interval_in_ms=600000; dynamic_snitch_update_interval_in_ms=100; endpoint_snitch=SimpleSnitch; hinted_handoff_enabled=true; hinted_handoff_throttle_in_kb=1024; incremental_backups=false; index_summary_capacity_in_mb=null; index_summary_resize_interval_in_minutes=60; inter_dc_tcp_nodelay=false; internode_compression=all; key_cache_save_period=14400; key_cache_size_in_mb=null; listen_address=localhost; max_hint_window_in_ms=10800000; max_hints_delivery_threads=2; memtable_allocation_type=heap_buffers; native_transport_port=9042; num_tokens=256; partitioner=org.apache.cassandra.dht.Murmur3Partitioner; permissions_validity_in_ms=2000; range_request_timeout_in_ms=10000; read_request_timeout_in_ms=5000; request_scheduler=org.apache.cassandra.scheduler.NoScheduler; request_timeout_in_ms=10000; row_cache_save_period=0; row_cache_size_in_mb=0; rpc_address=localhost; rpc_keepalive=true; rpc_port=9160; rpc_server_type=sync; seed_provider=[{class_name=org.apache.cassandra.locator.SimpleSeedProvider, parameters=[{seeds=127.0.0.1}]}]; server_encryption_options=<REDACTED>; snapshot_before_compaction=false; ssl_storage_port=7001; sstable_preemptive_open_interval_in_mb=50; start_native_transport=true; start_rpc=true; storage_port=7000; thrift_framed_transport_size_in_mb=15; tombstone_failure_threshold=100000; tombstone_warn_threshold=1000; trickle_fsync=false; trickle_fsync_interval_in_kb=10240; truncate_request_timeout_in_ms=60000; write_request_timeout_in_ms=2000]
WARN 10:04:22 No host ID found, created 7f8b388e-a70a-48fa-b893-845401744ca9 (Note: This should happen exactly once per node).
INFO 10:04:22 Starting up server gossip
INFO 10:04:22 Enqueuing flush of local: 1846 (0%) on-heap, 0 (0%) off-heap
INFO 10:04:22 Writing Memtable-local@1914900193(350 serialized bytes, 12 ops, 0%/0% of on/off-heap limit)
INFO 10:04:22 Completed flushing /data/4/cassandra/bin/../data/data/system/local-7ad54392bcdd35a684174e047860b377/system-local-ka-2-Data.db (303 bytes) for commitlog position ReplayPosition(segmentId=1417082659377, position=86924)
INFO 10:04:22 Loading settings from file:/data/4/cassandra/conf/cassandra.yaml
INFO 10:04:22 Node configuration:[authenticator=AllowAllAuthenticator; authorizer=AllowAllAuthorizer; auto_snapshot=true; batch_size_warn_threshold_in_kb=5; batchlog_replay_throttle_in_kb=1024; cas_contention_timeout_in_ms=1000; client_encryption_options=<REDACTED>; cluster_name=Test Cluster; column_index_size_in_kb=64; commit_failure_policy=stop; commitlog_segment_size_in_mb=32; commitlog_sync=periodic; commitlog_sync_period_in_ms=10000; compaction_throughput_mb_per_sec=16; concurrent_counter_writes=32; concurrent_reads=32; concurrent_writes=32; counter_cache_save_period=7200; counter_cache_size_in_mb=null; counter_write_request_timeout_in_ms=5000; cross_node_timeout=false; disk_failure_policy=stop; dynamic_snitch_badness_threshold=0.1; dynamic_snitch_reset_interval_in_ms=600000; dynamic_snitch_update_interval_in_ms=100; endpoint_snitch=SimpleSnitch; hinted_handoff_enabled=true; hinted_handoff_throttle_in_kb=1024; incremental_backups=false; index_summary_capacity_in_mb=null; index_summary_resize_interval_in_minutes=60; inter_dc_tcp_nodelay=false; internode_compression=all; key_cache_save_period=14400; key_cache_size_in_mb=null; listen_address=localhost; max_hint_window_in_ms=10800000; max_hints_delivery_threads=2; memtable_allocation_type=heap_buffers; native_transport_port=9042; num_tokens=256; partitioner=org.apache.cassandra.dht.Murmur3Partitioner; permissions_validity_in_ms=2000; range_request_timeout_in_ms=10000; read_request_timeout_in_ms=5000; request_scheduler=org.apache.cassandra.scheduler.NoScheduler; request_timeout_in_ms=10000; row_cache_save_period=0; row_cache_size_in_mb=0; rpc_address=localhost; rpc_keepalive=true; rpc_port=9160; rpc_server_type=sync; seed_provider=[{class_name=org.apache.cassandra.locator.SimpleSeedProvider, parameters=[{seeds=127.0.0.1}]}]; server_encryption_options=<REDACTED>; snapshot_before_compaction=false; ssl_storage_port=7001; sstable_preemptive_open_interval_in_mb=50; start_native_transport=true; start_rpc=true; storage_port=7000; thrift_framed_transport_size_in_mb=15; tombstone_failure_threshold=100000; tombstone_warn_threshold=1000; trickle_fsync=false; trickle_fsync_interval_in_kb=10240; truncate_request_timeout_in_ms=60000; write_request_timeout_in_ms=2000]
INFO 10:04:22 Starting Messaging Service on port 7000
INFO 10:04:22 Loading settings from file:/data/4/cassandra/conf/cassandra.yaml
INFO 10:04:22 Node configuration:[authenticator=AllowAllAuthenticator; authorizer=AllowAllAuthorizer; auto_snapshot=true; batch_size_warn_threshold_in_kb=5; batchlog_replay_throttle_in_kb=1024; cas_contention_timeout_in_ms=1000; client_encryption_options=<REDACTED>; cluster_name=Test Cluster; column_index_size_in_kb=64; commit_failure_policy=stop; commitlog_segment_size_in_mb=32; commitlog_sync=periodic; commitlog_sync_period_in_ms=10000; compaction_throughput_mb_per_sec=16; concurrent_counter_writes=32; concurrent_reads=32; concurrent_writes=32; counter_cache_save_period=7200; counter_cache_size_in_mb=null; counter_write_request_timeout_in_ms=5000; cross_node_timeout=false; disk_failure_policy=stop; dynamic_snitch_badness_threshold=0.1; dynamic_snitch_reset_interval_in_ms=600000; dynamic_snitch_update_interval_in_ms=100; endpoint_snitch=SimpleSnitch; hinted_handoff_enabled=true; hinted_handoff_throttle_in_kb=1024; incremental_backups=false; index_summary_capacity_in_mb=null; index_summary_resize_interval_in_minutes=60; inter_dc_tcp_nodelay=false; internode_compression=all; key_cache_save_period=14400; key_cache_size_in_mb=null; listen_address=localhost; max_hint_window_in_ms=10800000; max_hints_delivery_threads=2; memtable_allocation_type=heap_buffers; native_transport_port=9042; num_tokens=256; partitioner=org.apache.cassandra.dht.Murmur3Partitioner; permissions_validity_in_ms=2000; range_request_timeout_in_ms=10000; read_request_timeout_in_ms=5000; request_scheduler=org.apache.cassandra.scheduler.NoScheduler; request_timeout_in_ms=10000; row_cache_save_period=0; row_cache_size_in_mb=0; rpc_address=localhost; rpc_keepalive=true; rpc_port=9160; rpc_server_type=sync; seed_provider=[{class_name=org.apache.cassandra.locator.SimpleSeedProvider, parameters=[{seeds=127.0.0.1}]}]; server_encryption_options=<REDACTED>; snapshot_before_compaction=false; ssl_storage_port=7001; sstable_preemptive_open_interval_in_mb=50; start_native_transport=true; start_rpc=true; storage_port=7000; thrift_framed_transport_size_in_mb=15; tombstone_failure_threshold=100000; tombstone_warn_threshold=1000; trickle_fsync=false; trickle_fsync_interval_in_kb=10240; truncate_request_timeout_in_ms=60000; write_request_timeout_in_ms=2000]
INFO 10:04:22 Loading settings from file:/data/4/cassandra/conf/cassandra.yaml
INFO 10:04:22 Node configuration:[authenticator=AllowAllAuthenticator; authorizer=AllowAllAuthorizer; auto_snapshot=true; batch_size_warn_threshold_in_kb=5; batchlog_replay_throttle_in_kb=1024; cas_contention_timeout_in_ms=1000; client_encryption_options=<REDACTED>; cluster_name=Test Cluster; column_index_size_in_kb=64; commit_failure_policy=stop; commitlog_segment_size_in_mb=32; commitlog_sync=periodic; commitlog_sync_period_in_ms=10000; compaction_throughput_mb_per_sec=16; concurrent_counter_writes=32; concurrent_reads=32; concurrent_writes=32; counter_cache_save_period=7200; counter_cache_size_in_mb=null; counter_write_request_timeout_in_ms=5000; cross_node_timeout=false; disk_failure_policy=stop; dynamic_snitch_badness_threshold=0.1; dynamic_snitch_reset_interval_in_ms=600000; dynamic_snitch_update_interval_in_ms=100; endpoint_snitch=SimpleSnitch; hinted_handoff_enabled=true; hinted_handoff_throttle_in_kb=1024; incremental_backups=false; index_summary_capacity_in_mb=null; index_summary_resize_interval_in_minutes=60; inter_dc_tcp_nodelay=false; internode_compression=all; key_cache_save_period=14400; key_cache_size_in_mb=null; listen_address=localhost; max_hint_window_in_ms=10800000; max_hints_delivery_threads=2; memtable_allocation_type=heap_buffers; native_transport_port=9042; num_tokens=256; partitioner=org.apache.cassandra.dht.Murmur3Partitioner; permissions_validity_in_ms=2000; range_request_timeout_in_ms=10000; read_request_timeout_in_ms=5000; request_scheduler=org.apache.cassandra.scheduler.NoScheduler; request_timeout_in_ms=10000; row_cache_save_period=0; row_cache_size_in_mb=0; rpc_address=localhost; rpc_keepalive=true; rpc_port=9160; rpc_server_type=sync; seed_provider=[{class_name=org.apache.cassandra.locator.SimpleSeedProvider, parameters=[{seeds=127.0.0.1}]}]; server_encryption_options=<REDACTED>; snapshot_before_compaction=false; ssl_storage_port=7001; sstable_preemptive_open_interval_in_mb=50; start_native_transport=true; start_rpc=true; storage_port=7000; thrift_framed_transport_size_in_mb=15; tombstone_failure_threshold=100000; tombstone_warn_threshold=1000; trickle_fsync=false; trickle_fsync_interval_in_kb=10240; truncate_request_timeout_in_ms=60000; write_request_timeout_in_ms=2000]
INFO 10:04:22 This node will not auto bootstrap because it is configured to be a seed node.
INFO 10:04:22 Loading settings from file:/data/4/cassandra/conf/cassandra.yaml
INFO 10:04:22 Node configuration:[authenticator=AllowAllAuthenticator; authorizer=AllowAllAuthorizer; auto_snapshot=true; batch_size_warn_threshold_in_kb=5; batchlog_replay_throttle_in_kb=1024; cas_contention_timeout_in_ms=1000; client_encryption_options=<REDACTED>; cluster_name=Test Cluster; column_index_size_in_kb=64; commit_failure_policy=stop; commitlog_segment_size_in_mb=32; commitlog_sync=periodic; commitlog_sync_period_in_ms=10000; compaction_throughput_mb_per_sec=16; concurrent_counter_writes=32; concurrent_reads=32; concurrent_writes=32; counter_cache_save_period=7200; counter_cache_size_in_mb=null; counter_write_request_timeout_in_ms=5000; cross_node_timeout=false; disk_failure_policy=stop; dynamic_snitch_badness_threshold=0.1; dynamic_snitch_reset_interval_in_ms=600000; dynamic_snitch_update_interval_in_ms=100; endpoint_snitch=SimpleSnitch; hinted_handoff_enabled=true; hinted_handoff_throttle_in_kb=1024; incremental_backups=false; index_summary_capacity_in_mb=null; index_summary_resize_interval_in_minutes=60; inter_dc_tcp_nodelay=false; internode_compression=all; key_cache_save_period=14400; key_cache_size_in_mb=null; listen_address=localhost; max_hint_window_in_ms=10800000; max_hints_delivery_threads=2; memtable_allocation_type=heap_buffers; native_transport_port=9042; num_tokens=256; partitioner=org.apache.cassandra.dht.Murmur3Partitioner; permissions_validity_in_ms=2000; range_request_timeout_in_ms=10000; read_request_timeout_in_ms=5000; request_scheduler=org.apache.cassandra.scheduler.NoScheduler; request_timeout_in_ms=10000; row_cache_save_period=0; row_cache_size_in_mb=0; rpc_address=localhost; rpc_keepalive=true; rpc_port=9160; rpc_server_type=sync; seed_provider=[{class_name=org.apache.cassandra.locator.SimpleSeedProvider, parameters=[{seeds=127.0.0.1}]}]; server_encryption_options=<REDACTED>; snapshot_before_compaction=false; ssl_storage_port=7001; sstable_preemptive_open_interval_in_mb=50; start_native_transport=true; start_rpc=true; storage_port=7000; thrift_framed_transport_size_in_mb=15; tombstone_failure_threshold=100000; tombstone_warn_threshold=1000; trickle_fsync=false; trickle_fsync_interval_in_kb=10240; truncate_request_timeout_in_ms=60000; write_request_timeout_in_ms=2000]
INFO 10:04:23 Generated random tokens. tokens are [8840167808419271980, 9134060017245869569, -2793964310454342125, 7847529985323883062, -3267879375970176700, -4173118309356985914, 5292380974219861749, -5816886735224089818, 4117180751367609246, 2537661224538806543, -2225348698533466739, 4376308046676758380, 7442593269067005176, -8505256435008500938, 5752160264437816075, 1795070606409675521, -2650575961359333035, -3710662257610726996, -7931616222161974795, -6510886378585463539, -4479744902914348324, -1230750699739450214, 4109755849451242174, 3646650699546788872, 7279953112866243560, -463019170967201703, -7585330697705402709, -2382934407838039900, -8925689458753431175, 8684548211186362051, -5740721716657192669, -6496046954002385065, 4487737113000804282, 302026765085208305, -8281557515722254904, -8068432913954557392, -6478224592298992046, -2058136173162489129, 4292539952926033250, -963328592211456407, 5049784244313065347, 3878178727559587553, 8622854670011191320, -2550985093955894686, 5328331896703299880, 7813479165434651352, 4582060127874621128, -7687325788542184405, -5593354805664052847, -8824625168044903704, 525934076325682604, -1999135923002115123, 162501292186905807, -8438038663961561123, -8190201632374011334, -2148003781729887678, -1320658507189870001, -4691391625317514894, -5239005307988938750, -2281272643298201215, 919891269461581648, -6847007526387037698, -6601215165753204747, 6514838316198671205, -2864661670793999979, 5946868316683089549, -1677212813425193910, -2914176263522536533, 8624516118996874178, 1059707951426603804, 8368306431141710169, -912304513409477525, -791890079689942445, -8633411202510536220, -8765153047264893845, 7330113156763894082, -7281529621768285823, 4309566867581464289, -3353547262443493034, 5972429711908192026, 894394108965191607, -1477710075574121082, -4230849545904063144, 4914479553242068515, 431502983939538357, -1967210357308221023, 5631080490927815969, 916461361326821832, -8352204555616184887, -112887611814928509, 6385215986990690420, -731683367759509950, 7483950571697575022, -3928628265073026906, -7131622009328406161, 4646364090813537939, 8642983681501956499, 496624651659366422, 4249769624870661980, 1506065779509832958, -5553737061239483065, 4942858435951463051, -5636429700545162539, -3282313593881469743, -5582661131522938986, 3093879020592875187, -874043485609610801, -8372920336587364121, 9172247915407280964, 2995378440312975133, 1123099764090833585, -9215543560983283183, 53229869275943592, -8834680020017331597, -2503801070784409322, 7333425512174180746, -3423276507963115429, 3926106343008197967, 8664785988819914661, -3132096005296553439, 452089035288327066, 1112349933782722124, -8665798259659455333, 587578691659923100, 4836464690064120352, 7431793021513814065, -2393031905318544664, 3217071277118392197, 2315066618263513173, 447222036575886175, 93021467412712504, -5400432611170475277, -8335800437902866435, -7378672912204336214, -4747994616568354545, 5439579519912969280, -1604120332868360389, 6411931748252638738, 3758125654773906346, -3495207595889104236, 7074840037834439801, -3919055241764739389, 1020942157051038868, 1610413762623448495, 266277672707986807, -5029831553643341185, 657677252679430677, 4601017384411345146, 8921523349275452507, -7961063735295651568, -8382099474959176562, -4231273941674153580, -2558056797689407565, 822156815169022408, 2220532916455508667, 8810949917229433142, -4831356497070871049, -902665550861004952, -3025677941800274855, -3382296044591085010, 7695887480035938143, -1565499521493855318, 6480126089440007932, -8297063092299617793, 1958113367572168698, 5491694658230672275, -3642500163994770112, 8346664513394900250, -2763165838550265344, 1945306496572228118, 6308495587224998381, -2739325411144943984, -2769761056374293425, -5481214096296497623, -3737582190429196210, -1084389429451430138, -6638977238804902209, 345144104228728655, -6149338004142192593, 2693212667551862439, -751687673107043946, 1993277988522432343, 6849978340438333960, -1665751093640929490, 2154287169619316138, -2506863948661740707, 4761952625571324366, -2762031772432884362, -6001380229717681552, 7319797450488837190, -8243759518906082559, 7231260127150814646, -6076516516329661244, 6633234443872123639, -3298669598801138882, 3625596598031099420, -6382525985822765317, 8947566766481517536, 4195894055658844093, 7600595083576029279, 945314739340280889, 78937438887260961, -7436170622294771535, 8261805872369262168, -1476765331019096489, 4080348723399509595, -4895830241789502820, 1232215568604541585, 8716220176243025811, -1833923673717675966, 8455451828002595078, 7659992005394503353, -3625088322243895457, 5653180163266668260, -6247270805928696464, 8135184736819167579, -1330802257008424251, -3906433845199685255, -8271760152765245990, 5745159400710224880, -3860324922795715922, -5058969122566357851, 1540128043971472343, -8659826106582339617, -1892005727495654576, 3961583906190918012, 5303885657705846666, -8618000642343850239, -6072208463993899439, 9090654159779294059, -2891527848961609501, -5183226466859905514, -1853284354563568437, -8672085694078641998, 8397195203645874904, 6025652557995857389, 1116300359820377937, -2734378022170141795, 1307334924633826877, 5376916562436765019, -4637522939002711769, 4119528008004713637, -6789451493919202963, -7714183273854953097, -8469509478389881793, -6787308268184445844, -6039298027074654707, 6977137628869741252, 7903649961757275147, 4795367235208912224, 1674920617342067248, 432439090968680550, 7440988851175540874, 3503547756858952817, 4253921758206739320, -1129728585663579048]
INFO 10:04:23 Create new Keyspace: KSMetaData{name=system_traces, strategyClass=SimpleStrategy, strategyOptions={replication_factor=2}, cfMetaData={sessions=org.apache.cassandra.config.CFMetaData@6e1d91ec[cfId=c5e99f16-8677-3914-b17e-960613512345,ksName=system_traces,cfName=sessions,cfType=Standard,comparator=org.apache.cassandra.db.marshal.CompositeType(org.apache.cassandra.db.marshal.UTF8Type,org.apache.cassandra.db.marshal.ColumnToCollectionType(706172616d6574657273:org.apache.cassandra.db.marshal.MapType(org.apache.cassandra.db.marshal.UTF8Type,org.apache.cassandra.db.marshal.UTF8Type))),comment=traced sessions,readRepairChance=0.0,dcLocalReadRepairChance=0.0,gcGraceSeconds=0,defaultValidator=org.apache.cassandra.db.marshal.BytesType,keyValidator=org.apache.cassandra.db.marshal.UUIDType,minCompactionThreshold=4,maxCompactionThreshold=32,columnMetadata=[ColumnDefinition{name=session_id, type=org.apache.cassandra.db.marshal.UUIDType, kind=PARTITION_KEY, componentIndex=null, indexName=null, indexType=null}, ColumnDefinition{name=duration, type=org.apache.cassandra.db.marshal.Int32Type, kind=REGULAR, componentIndex=0, indexName=null, indexType=null}, ColumnDefinition{name=parameters, type=org.apache.cassandra.db.marshal.MapType(org.apache.cassandra.db.marshal.UTF8Type,org.apache.cassandra.db.marshal.UTF8Type), kind=REGULAR, componentIndex=0, indexName=null, indexType=null}, ColumnDefinition{name=started_at, type=org.apache.cassandra.db.marshal.TimestampType, kind=REGULAR, componentIndex=0, indexName=null, indexType=null}, ColumnDefinition{name=request, type=org.apache.cassandra.db.marshal.UTF8Type, kind=REGULAR, componentIndex=0, indexName=null, indexType=null}, ColumnDefinition{name=coordinator, type=org.apache.cassandra.db.marshal.InetAddressType, kind=REGULAR, componentIndex=0, indexName=null, indexType=null}],compactionStrategyClass=class org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy,compactionStrategyOptions={},compressionParameters={sstable_compression=org.apache.cassandra.io.compress.LZ4Compressor},bloomFilterFpChance=0.01,memtableFlushPeriod=3600000,caching={“keys”:”ALL”, “rows_per_partition”:”NONE”},defaultTimeToLive=0,minIndexInterval=128,maxIndexInterval=2048,speculativeRetry=99.0PERCENTILE,droppedColumns={},triggers=[],isDense=false], events=org.apache.cassandra.config.CFMetaData@672a488d[cfId=8826e8e9-e16a-3728-8753-3bc1fc713c25,ksName=system_traces,cfName=events,cfType=Standard,comparator=org.apache.cassandra.db.marshal.CompositeType(org.apache.cassandra.db.marshal.TimeUUIDType,org.apache.cassandra.db.marshal.UTF8Type),comment=,readRepairChance=0.0,dcLocalReadRepairChance=0.0,gcGraceSeconds=0,defaultValidator=org.apache.cassandra.db.marshal.BytesType,keyValidator=org.apache.cassandra.db.marshal.UUIDType,minCompactionThreshold=4,maxCompactionThreshold=32,columnMetadata=[ColumnDefinition{name=session_id, type=org.apache.cassandra.db.marshal.UUIDType, kind=PARTITION_KEY, componentIndex=null, indexName=null, indexType=null}, ColumnDefinition{name=source, type=org.apache.cassandra.db.marshal.InetAddressType, kind=REGULAR, componentIndex=1, indexName=null, indexType=null}, ColumnDefinition{name=thread, type=org.apache.cassandra.db.marshal.UTF8Type, kind=REGULAR, componentIndex=1, indexName=null, indexType=null}, ColumnDefinition{name=activity, type=org.apache.cassandra.db.marshal.UTF8Type, kind=REGULAR, componentIndex=1, indexName=null, indexType=null}, ColumnDefinition{name=source_elapsed, type=org.apache.cassandra.db.marshal.Int32Type, kind=REGULAR, componentIndex=1, indexName=null, indexType=null}, ColumnDefinition{name=event_id, type=org.apache.cassandra.db.marshal.TimeUUIDType, kind=CLUSTERING_COLUMN, componentIndex=0, indexName=null, indexType=null}],compactionStrategyClass=class org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy,compactionStrategyOptions={},compressionParameters={sstable_compression=org.apache.cassandra.io.compress.LZ4Compressor},bloomFilterFpChance=0.01,memtableFlushPeriod=3600000,caching={“keys”:”ALL”, “rows_per_partition”:”NONE”},defaultTimeToLive=0,minIndexInterval=128,maxIndexInterval=2048,speculativeRetry=99.0PERCENTILE,droppedColumns={},triggers=[],isDense=false]}, durableWrites=true, userTypes=org.apache.cassandra.config.UTMetaData@6654fbb2}
INFO 10:04:23 Enqueuing flush of schema_keyspaces: 958 (0%) on-heap, 0 (0%) off-heap
INFO 10:04:23 Writing Memtable-schema_keyspaces@1556520205(251 serialized bytes, 7 ops, 0%/0% of on/off-heap limit)
INFO 10:04:23 Completed flushing /data/4/cassandra/bin/../data/data/system/schema_keyspaces-b0f2235744583cdb9631c43e59ce3676/system-schema_keyspaces-ka-1-Data.db (216 bytes) for commitlog position ReplayPosition(segmentId=1417082659377, position=95879)
INFO 10:04:23 Enqueuing flush of schema_columnfamilies: 109000 (0%) on-heap, 0 (0%) off-heap
INFO 10:04:23 Writing Memtable-schema_columnfamilies@4518668(28515 serialized bytes, 487 ops, 0%/0% of on/off-heap limit)
INFO 10:04:23 Completed flushing /data/4/cassandra/bin/../data/data/system/schema_columnfamilies-45f5b36024bc3f83a3631034ea4fa697/system-schema_columnfamilies-ka-1-Data.db (6516 bytes) for commitlog position ReplayPosition(segmentId=1417082659377, position=95879)
INFO 10:04:23 Enqueuing flush of schema_columns: 237876 (0%) on-heap, 0 (0%) off-heap
INFO 10:04:23 Writing Memtable-schema_columns@1267084901(45162 serialized bytes, 876 ops, 0%/0% of on/off-heap limit)
INFO 10:04:23 Completed flushing /data/4/cassandra/bin/../data/data/system/schema_columns-296e9c049bec3085827dc17d3df2122a/system-schema_columns-ka-1-Data.db (10438 bytes) for commitlog position ReplayPosition(segmentId=1417082659377, position=95879)
INFO 10:04:23 Loading org.apache.cassandra.config.CFMetaData@31118ee5[cfId=c5e99f16-8677-3914-b17e-960613512345,ksName=system_traces,cfName=sessions,cfType=Standard,comparator=org.apache.cassandra.db.marshal.CompositeType(org.apache.cassandra.db.marshal.UTF8Type,org.apache.cassandra.db.marshal.ColumnToCollectionType(706172616d6574657273:org.apache.cassandra.db.marshal.MapType(org.apache.cassandra.db.marshal.UTF8Type,org.apache.cassandra.db.marshal.UTF8Type))),comment=traced sessions,readRepairChance=0.0,dcLocalReadRepairChance=0.0,gcGraceSeconds=0,defaultValidator=org.apache.cassandra.db.marshal.BytesType,keyValidator=org.apache.cassandra.db.marshal.UUIDType,minCompactionThreshold=4,maxCompactionThreshold=32,columnMetadata=[ColumnDefinition{name=duration, type=org.apache.cassandra.db.marshal.Int32Type, kind=REGULAR, componentIndex=0, indexName=null, indexType=null}, ColumnDefinition{name=session_id, type=org.apache.cassandra.db.marshal.UUIDType, kind=PARTITION_KEY, componentIndex=null, indexName=null, indexType=null}, ColumnDefinition{name=parameters, type=org.apache.cassandra.db.marshal.MapType(org.apache.cassandra.db.marshal.UTF8Type,org.apache.cassandra.db.marshal.UTF8Type), kind=REGULAR, componentIndex=0, indexName=null, indexType=null}, ColumnDefinition{name=started_at, type=org.apache.cassandra.db.marshal.TimestampType, kind=REGULAR, componentIndex=0, indexName=null, indexType=null}, ColumnDefinition{name=request, type=org.apache.cassandra.db.marshal.UTF8Type, kind=REGULAR, componentIndex=0, indexName=null, indexType=null}, ColumnDefinition{name=coordinator, type=org.apache.cassandra.db.marshal.InetAddressType, kind=REGULAR, componentIndex=0, indexName=null, indexType=null}],compactionStrategyClass=class org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy,compactionStrategyOptions={},compressionParameters={sstable_compression=org.apache.cassandra.io.compress.LZ4Compressor},bloomFilterFpChance=0.01,memtableFlushPeriod=3600000,caching={“keys”:”ALL”, “rows_per_partition”:”NONE”},defaultTimeToLive=0,minIndexInterval=128,maxIndexInterval=2048,speculativeRetry=99.0PERCENTILE,droppedColumns={},triggers=[],isDense=false]
INFO 10:04:23 Initializing system_traces.sessions
INFO 10:04:23 Loading org.apache.cassandra.config.CFMetaData@5009270d[cfId=8826e8e9-e16a-3728-8753-3bc1fc713c25,ksName=system_traces,cfName=events,cfType=Standard,comparator=org.apache.cassandra.db.marshal.CompositeType(org.apache.cassandra.db.marshal.TimeUUIDType,org.apache.cassandra.db.marshal.UTF8Type),comment=,readRepairChance=0.0,dcLocalReadRepairChance=0.0,gcGraceSeconds=0,defaultValidator=org.apache.cassandra.db.marshal.BytesType,keyValidator=org.apache.cassandra.db.marshal.UUIDType,minCompactionThreshold=4,maxCompactionThreshold=32,columnMetadata=[ColumnDefinition{name=session_id, type=org.apache.cassandra.db.marshal.UUIDType, kind=PARTITION_KEY, componentIndex=null, indexName=null, indexType=null}, ColumnDefinition{name=source, type=org.apache.cassandra.db.marshal.InetAddressType, kind=REGULAR, componentIndex=1, indexName=null, indexType=null}, ColumnDefinition{name=thread, type=org.apache.cassandra.db.marshal.UTF8Type, kind=REGULAR, componentIndex=1, indexName=null, indexType=null}, ColumnDefinition{name=activity, type=org.apache.cassandra.db.marshal.UTF8Type, kind=REGULAR, componentIndex=1, indexName=null, indexType=null}, ColumnDefinition{name=source_elapsed, type=org.apache.cassandra.db.marshal.Int32Type, kind=REGULAR, componentIndex=1, indexName=null, indexType=null}, ColumnDefinition{name=event_id, type=org.apache.cassandra.db.marshal.TimeUUIDType, kind=CLUSTERING_COLUMN, componentIndex=0, indexName=null, indexType=null}],compactionStrategyClass=class org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy,compactionStrategyOptions={},compressionParameters={sstable_compression=org.apache.cassandra.io.compress.LZ4Compressor},bloomFilterFpChance=0.01,memtableFlushPeriod=3600000,caching={“keys”:”ALL”, “rows_per_partition”:”NONE”},defaultTimeToLive=0,minIndexInterval=128,maxIndexInterval=2048,speculativeRetry=99.0PERCENTILE,droppedColumns={},triggers=[],isDense=false]
INFO 10:04:23 Initializing system_traces.events
INFO 10:04:23 Enqueuing flush of local: 731 (0%) on-heap, 0 (0%) off-heap
INFO 10:04:23 Writing Memtable-local@2101356551(104 serialized bytes, 6 ops, 0%/0% of on/off-heap limit)
INFO 10:04:23 Completed flushing /data/4/cassandra/bin/../data/data/system/local-7ad54392bcdd35a684174e047860b377/system-local-ka-3-Data.db (115 bytes) for commitlog position ReplayPosition(segmentId=1417082659377, position=96122)
INFO 10:04:23 Enqueuing flush of local: 51475 (0%) on-heap, 0 (0%) off-heap
INFO 10:04:23 Writing Memtable-local@1338215378(8554 serialized bytes, 259 ops, 0%/0% of on/off-heap limit)
INFO 10:04:24 Completed flushing /data/4/cassandra/bin/../data/data/system/local-7ad54392bcdd35a684174e047860b377/system-local-ka-4-Data.db (5263 bytes) for commitlog position ReplayPosition(segmentId=1417082659377, position=108108)
INFO 10:04:24 Compacting [SSTableReader(path=’/data/4/cassandra/bin/../data/data/system/local-7ad54392bcdd35a684174e047860b377/system-local-ka-4-Data.db’), SSTableReader(path=’/data/4/cassandra/bin/../data/data/system/local-7ad54392bcdd35a684174e047860b377/system-local-ka-3-Data.db’), SSTableReader(path=’/data/4/cassandra/bin/../data/data/system/local-7ad54392bcdd35a684174e047860b377/system-local-ka-2-Data.db’), SSTableReader(path=’/data/4/cassandra/bin/../data/data/system/local-7ad54392bcdd35a684174e047860b377/system-local-ka-1-Data.db’)]
INFO 10:04:24 Node localhost/127.0.0.1 state jump to normal
INFO 10:04:24 Compacted 4 sstables to [bin/../data/data/system/local-7ad54392bcdd35a684174e047860b377/system-local-ka-5,]. 5,858 bytes to 5,674 (~96% of original) in 218ms = 0.024822MB/s. 4 total partitions merged to 1. Partition merge counts were {4:1, }

[root@dbversitydotcom cassandra]#

[root@dbversitydotcom cassandra]# cd data/
[root@dbversitydotcom data]# ll -lhtr
total 12K
drwxr-xr-x 2 root root 4.0K Nov 27 05:04 saved_caches
drwxr-xr-x 2 root root 4.0K Nov 27 05:04 commitlog
drwxr-xr-x 4 root root 4.0K Nov 27 05:04 data
[root@dbversitydotcom data]#

[root@dbversitydotcom data]# ps -ef | grep cass
root 1032 1 10 05:03 pts/3 00:00:37 /usr/java/jdk1.7.0_71/bin/java -ea -javaagent:bin/../lib/jamm-0.2.8.jar -XX:+CMSClassUnloadingEnabled -XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=42 -Xms3986M -Xmx3986M -Xmn800M -XX:+HeapDumpOnOutOfMemoryError -Xss256k -XX:StringTableSize=1000003 -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:SurvivorRatio=8 -XX:MaxTenuringThreshold=1 -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+UseTLAB -XX:CompileCommandFile=bin/../conf/hotspot_compiler -XX:CMSWaitDuration=10000 -XX:+UseCondCardMark -Djava.net.preferIPv4Stack=true -Dcom.sun.management.jmxremote.port=7199 -Dcom.sun.management.jmxremote.rmi.port=7199 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Dlogback.configurationFile=logback.xml -Dcassandra.logdir=bin/../logs -Dcassandra.storagedir=bin/../data -cp bin/../conf:bin/../build/classes/main:bin/../build/classes/thrift:bin/../lib/airline-0.6.jar:bin/../lib/antlr-runtime-3.5.2.jar:bin/../lib/apache-cassandra-2.1.2.jar:bin/../lib/apache-cassandra-clientutil-2.1.2.jar:bin/../lib/apache-cassandra-thrift-2.1.2.jar:bin/../lib/commons-cli-1.1.jar:bin/../lib/commons-codec-1.2.jar:bin/../lib/commons-lang3-3.1.jar:bin/../lib/commons-math3-3.2.jar:bin/../lib/compress-lzf-0.8.4.jar:bin/../lib/concurrentlinkedhashmap-lru-1.4.jar:bin/../lib/disruptor-3.0.1.jar:bin/../lib/guava-16.0.jar:bin/../lib/high-scale-lib-1.0.6.jar:bin/../lib/jackson-core-asl-1.9.2.jar:bin/../lib/jackson-mapper-asl-1.9.2.jar:bin/../lib/jamm-0.2.8.jar:bin/../lib/javax.inject.jar:bin/../lib/jbcrypt-0.3m.jar:bin/../lib/jline-1.0.jar:bin/../lib/jna-4.0.0.jar:bin/../lib/json-simple-1.1.jar:bin/../lib/libthrift-0.9.1.jar:bin/../lib/logback-classic-1.1.2.jar:bin/../lib/logback-core-1.1.2.jar:bin/../lib/lz4-1.2.0.jar:bin/../lib/metrics-core-2.2.0.jar:bin/../lib/netty-all-4.0.23.Final.jar:bin/../lib/reporter-config-2.1.0.jar:bin/../lib/slf4j-api-1.7.2.jar:bin/../lib/snakeyaml-1.11.jar:bin/../lib/snappy-java-1.0.5.2.jar:bin/../lib/stream-2.5.2.jar:bin/../lib/stringtemplate-4.0.2.jar:bin/../lib/super-csv-2.1.0.jar:bin/../lib/thrift-server-0.3.7.jar org.apache.cassandra.service.CassandraDaemon
root 3084 20138 0 05:09 pts/3 00:00:00 grep cass
[root@dbversitydotcom data]#
[root@dbversitydotcom bin]# nodetool status

Datacenter: datacenter1
=======================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
— Address Load Tokens Owns (effective) Host ID Rack
UN 127.0.0.1 41.12 KB 256 100.0% 7f8b388e-a70a-48fa-b893-845401744ca9 rack1

  • Ask Question