Re: Re: unconfigured table logtabl

2020-04-03 Thread Erick Ramirez
And from your review of the logs, what was the cause of the repair
failures? Because that's likely to yield clues on the root cause. Cheers!


unconfigured table logtabl

2020-04-03 Thread David Ni
Hello experts:
   I am using cassandra 3.11.2 and having below problem:
   cassandra@cqlsh> select * from oapi_dev.logtabl;
   InvalidRequest: Error from server: code=2200 [Invalid query] 
message="unconfigured table logtabl"
   but when I descrbibe keyspace,it shows in the result:
   cassandra@cqlsh> desc oapi_dev;
   CREATE KEYSPACE oapi_dev WITH replication = {'class': 'SimpleStrategy', 
'replication_factor': '3'}  AND durable_writes = true;
  CREATE TABLE oapi_dev.logtabl (
id bigint,
start_time timestamp,
take_time text,
api_name text,
api_type text,
client_ip text,
create_time timestamp,
end_time timestamp,
exchange_url text,
origin text,
request_body text,
request_method text,
request_params text,
result text,
result_content text,
url text,
user_name text,
PRIMARY KEY (id, start_time, take_time)
) WITH CLUSTERING ORDER BY (start_time ASC, take_time ASC)
AND bloom_filter_fp_chance = 0.01
AND caching = {'keys': 'ALL', 'rows_per_partition': 'NONE'}
AND comment = ''
AND compaction = {'class': 
'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', 
'max_threshold': '32', 'min_threshold': '4'}
AND compression = {'chunk_length_in_kb': '64', 'class': 
'org.apache.cassandra.io.compress.LZ4Compressor'}
AND crc_check_chance = 1.0
AND dclocal_read_repair_chance = 0.1
AND default_time_to_live = 0
AND gc_grace_seconds = 864000
AND max_index_interval = 2048
AND memtable_flush_period_in_ms = 0
AND min_index_interval = 128
AND read_repair_chance = 0.0
AND speculative_retry = '99PERCENTILE';
  

   I also tried to scrub and repair but also failed:
./nodetool scrub oapi_dev logtabl
nodetool: Unknown keyspace/cf pair (oapi_dev.logtabl )


[cassandra@plat-ecloud01-db-cassandra01 bin]$ ./nodetool repair -full oapi_dev
[2020-04-03 20:07:44,018] Starting repair command #6 
(b979fcc0-75a3-11ea-a277-bdf3d1289bdd), repairing keyspace oapi_dev with repair 
options (parallelism: parallel, primary range: false, incremental: false, job 
threads: 1, ColumnFamilies: [], dataCenters: [], hosts: [], # of ranges: 768, 
pull repair: false)
[2020-04-03 20:07:44,242] Got negative replies from endpoints [10.17.140.69, 
10.17.140.59]
[2020-04-03 20:07:44,242] Repair command #6 finished with error
error: Repair job has failed with the error message: [2020-04-03 20:07:44,242] 
Got negative replies from endpoints [10.17.140.69, 10.17.140.59]
-- StackTrace --
java.lang.RuntimeException: Repair job has failed with the error message: 
[2020-04-03 20:07:44,242] Got negative replies from endpoints [10.17.140.69, 
10.17.140.59]


please give me some suggestion thanks in advance!