Create table in cassandra 2.0 cluster only exists on one node -
Create table in cassandra 2.0 cluster only exists on one node -
we have cluster 2 nodes. when create table command, table created on 1 node:
create table prod.users_test ( user_name varchar, password varchar, gender varchar, session_token varchar, state varchar, birth_year bigint, primary key (user_name));
this used work fine lastly time created table on cluster. it's been while nil has changed. cluster has been working fine , info beingness replicated between 2 nodes in older tables.
if manually create table on both nodes , insert on 1 node, replicated other node.
any thought why it's not getting created on both nodes now?
here's keyspace description:
create keyspace prod replication = { 'class': 'networktopologystrategy', 'proddc1': '2' }; create table users_test ( user_name text, birth_year bigint, gender text, password text, session_token text, state text, primary key (user_name) ) bloom_filter_fp_chance=0.010000 , caching='keys_only' , comment='' , dclocal_read_repair_chance=0.000000 , gc_grace_seconds=864000 , index_interval=128 , read_repair_chance=0.100000 , replicate_on_write='true' , populate_io_cache_on_flush='false' , default_time_to_live=0 , speculative_retry='99.0percentile' , memtable_flush_period_in_ms=0 , compaction={'class': 'sizetieredcompactionstrategy'} , compression={'sstable_compression': 'lz4compressor'};`
here's cassandra-topology.properties file:
10.6.71.204=proddc1:rac2 10.6.71.205=proddc1:rac2 # default unknown nodes default=proddc1:rac2 # native ipv6 supported, must escape colon in ipv6 address # sure comment out jvm_opts="$jvm_opts -djava.net.preferipv4stack=true" # in cassandra-env.sh fe80\:0\:0\:0\:202\:b3ff\:fe1e\:8329=dc1:rac3
cassandra cassandra-2.0
Comments
Post a Comment