[FOLLOW UP QUESTION TO #5145]
Using batch job we are loading huge chunk of data from oracle databases to Cassandra , when application users are complaining about batch job(data insert failures) failures like below i am not seeing any failed insert statement which leading in to error state either in system.log or debug.log ,to get log of failed Insert statement in either system.log or debug.log what type of logging needs to be enabled ?
Cassandra Instance type :- EC2 Instance R5.2Xlarge( 8CPU 64 GB RAM) , 01TB EBS SSD volume . Total there are 09 cassandra nodes , it's an new cluster set up .Initial data load testing is failing , data loading into Cassandra from Oracle is through Java program
Tried to increase the below param values as below also didn't help
batch_size_warn_threshold_in_kb: 100 , batch_size_fail_threshold_in_kb :1000 write_request_timeout_in_ms: 30000 , counter_write_request_timeout_in_ms: 30000 commitlog_sync: periodic , commitlog_sync_period_in_ms: 10000 concurrent_writes: 64 , concurrent_counter_writes: 64 commitlog_sync: periodic , commitlog_sync_period_in_ms: 10000
Below is the default lagging level
[cassandra@uatrrcass05 commitlog]$ nodetool getlogginglevels Logger Name Log Level ROOT INFO com.thinkaurelius.thrift ERROR org.apache.cassandra DEBUG
11-06-2020 13:02:30.0437|ERROR|Error inserting: [/10.164.47.125:9042] Timed out waiting for server response 11-06-2020 13:54:41.0136|ERROR|Error inserting: [/10.164.47.125:9042] Timed out waiting for server response 11-06-2020 14:13:35.0536|ERROR|Error inserting: [/10.164.47.129:9042] Timed out waiting for server response 11-06-2020 14:16:09.0136|ERROR|Error inserting: [/10.164.47.123:9042] Timed out waiting for server response 11-06-2020 14:16:09.0236|ERROR|Error inserting: [/10.164.47.124:9042] Timed out waiting for server response 11-06-2020 14:30:16.0236|ERROR|Error inserting: [/10.164.47.122:9042] Timed out waiting for server response 11-06-2020 14:30:18.0136|ERROR|Error inserting: [/10.164.47.121:9042] Timed out waiting for server response 11-06-2020 14:35:56.0036|ERROR|Error inserting: [/10.164.47.128:9042] Timed out waiting for server response 11-06-2020 14:35:56.0936|ERROR|Error inserting: [/10.164.47.127:9042] Timed out waiting for server response 11-06-2020 14:40:15.0835|ERROR|Error inserting: [/10.164.47.126:9042] Timed out waiting for server response 11-06-2020 14:40:15.0835|ERROR|Too many INSERT errors ... Stopping 11-06-2020 14:40:15.0835|ERROR|There was an error. Please check the log file for more information 11-06-2020 14:40:17.0735|ERROR|Error inserting: [/10.164.47.126:9042] Timed out waiting for server response 11-06-2020 14:40:17.0736|ERROR|Too many INSERT errors ... Stopping 11-06-2020 14:40:17.0736|ERROR|Error inserting: [/10.164.47.126:9042] Timed out waiting for server response 11-06-2020 14:40:17.0736|ERROR|Too many INSERT errors ... Stopping 11-06-2020 14:40:17.0836|ERROR|Error inserting: [/10.164.47.126:9042] Timed out waiting for server response 11-06-2020 14:40:17.0836|ERROR|Too many INSERT errors ... Stopping