cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roopesh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-9689) keyspace creation fails when one node in a cluster is down.
Date Tue, 30 Jun 2015 18:51:04 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-9689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14608856#comment-14608856
] 

Roopesh commented on CASSANDRA-9689:
------------------------------------

Does not look like :

INFO  [SharedPool-Worker-1] 2015-06-30 23:26:49,896 MigrationManager.java:230 - Create new
Keyspace: KSMetaData{name=training, strategyClass=SimpleStrategy, strategyOptions={replication_factor=1},
cfMetaData={}, durableWrites=true, userTypes=org.apache.cassandra.config.UTMetaData@7a9603ac}
INFO  [MigrationStage:1] 2015-06-30 23:26:49,916 ColumnFamilyStore.java:906 - Enqueuing flush
of schema_keyspaces: 483 (0%) on-heap, 0 (0%) off-heap
INFO  [MemtableFlushWriter:3] 2015-06-30 23:26:49,963 Memtable.java:346 - Writing Memtable-schema_keyspaces@304343476(146
serialized bytes, 3 ops, 0%/0% of on/off-heap limit)
INFO  [MemtableFlushWriter:3] 2015-06-30 23:26:50,149 Memtable.java:385 - Completed flushing
/home/whiterabbit/.ccm/demo2/node1/data/system/schema_keyspaces-b0f2235744583cdb9631c43e59ce3676/system-schema_keyspaces-ka-4-Data.db
(161 bytes) for commitlog position ReplayPosition(segmentId=1435686886719, position=123784)
INFO  [CompactionExecutor:3] 2015-06-30 23:26:50,167 CompactionTask.java:140 - Compacting
[SSTableReader(path='/home/whiterabbit/.ccm/demo2/node1/data/system/schema_keyspaces-b0f2235744583cdb9631c43e59ce3676/system-schema_keyspaces-ka-4-Data.db'),
SSTableReader(path='/home/whiterabbit/.ccm/demo2/node1/data/system/schema_keyspaces-b0f2235744583cdb9631c43e59ce3676/system-schema_keyspaces-ka-1-Data.db'),
SSTableReader(path='/home/whiterabbit/.ccm/demo2/node1/data/system/schema_keyspaces-b0f2235744583cdb9631c43e59ce3676/system-schema_keyspaces-ka-2-Data.db'),
SSTableReader(path='/home/whiterabbit/.ccm/demo2/node1/data/system/schema_keyspaces-b0f2235744583cdb9631c43e59ce3676/system-schema_keyspaces-ka-3-Data.db')]
INFO  [CompactionExecutor:3] 2015-06-30 23:26:50,361 CompactionTask.java:270 - Compacted 4
sstables to [/home/whiterabbit/.ccm/demo2/node1/data/system/schema_keyspaces-b0f2235744583cdb9631c43e59ce3676/system-schema_keyspaces-ka-5,].
 698 bytes to 257 (~36% of original) in 99ms = 0.002476MB/s.  5 total partitions merged to
3.  Partition merge counts were {1:2, 3:1, }



> keyspace creation fails when one node in a cluster is down.
> -----------------------------------------------------------
>
>                 Key: CASSANDRA-9689
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9689
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Roopesh
>             Fix For: 2.1.x
>
>
> Here is the snapshot of the overall issue :
> whiterabbit@whiterabbit:~/cassandra/bin$ ccm create 'demo2' -v binary:2.1.7 -n 3 -s -d

> Current cluster is now: demo2
> whiterabbit@whiterabbit:~/cassandra/bin$ ccm list
>   demo_1node
>  *demo2
> whiterabbit@whiterabbit:~/cassandra/bin$ ccm status
> Cluster: 'demo2'
> ----------------
> node1: UP
> node3: UP
> node2: UP
> whiterabbit@whiterabbit:~/cassandra/bin$ ccm node2 nodetool version
> ReleaseVersion: 2.1.7
> whiterabbit@whiterabbit:~/cassandra/bin$ ccm node2 stop
> whiterabbit@whiterabbit:~/cassandra/bin$ ccm status
> Cluster: 'demo2'
> ----------------
> node1: UP
> node3: UP
> node2: DOWN
> whiterabbit@whiterabbit:~/cassandra/bin$ ccm node1 cqlsh
> Connected to demo2 at 127.0.0.1:9042.
> [cqlsh 5.0.1 | Cassandra 2.1.7 | CQL spec 3.2.0 | Native protocol v3]
> Use HELP for help.
> cqlsh> describe keyspaces;
> system_traces  system
> cqlsh> create keyspace training with replication={'class':'SimpleStrategy','replication_factor':1};
> OperationTimedOut: errors={}, last_host=127.0.0.1
> cqlsh> create keyspace training with replication={'class':'SimpleStrategy','replication_factor':1};
> AlreadyExists: Keyspace 'training' already exists
> cqlsh> describe keyspaces;
> system_traces  system
> cqlsh> 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message