You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2014/06/25 00:32:24 UTC

[jira] [Commented] (CASSANDRA-5461) LOCAL_QUORUM reads/writes don't throw UnavailableException if local quorum not present

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

Jonathan Ellis commented on CASSANDRA-5461:
-------------------------------------------

Is this still a problem, [~pkolaczk]?

> LOCAL_QUORUM reads/writes don't throw UnavailableException if local quorum not present
> --------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-5461
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5461
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.1.9
>         Environment: Cassandra 1.1.9.3, DSE 3.0.1, Ubuntu Linux 12.10
>            Reporter: Piotr Kołaczkowski
>            Assignee: Piotr Kołaczkowski
>
> {noformat}
> automaton@ip-10-171-69-238:~$ dsetool ring cfs
> Address         DC          Rack        Workload        Status State   Load            Effective-Ownership Token                                       
>                                                                                                            127605887595351923798765477786913079296     
> 10.171.69.238   Analytics   rack1       Analytics(JT)   Up     Normal  151.19 KB       100.00%             0                                           
> 10.171.147.24   Analytics   rack1       Analytics(TT)   Down   Down    103.79 KB       100.00%             42535295865117307932921825928971026432      
> 10.172.86.251   Analytics   rack1       Analytics(TT)   Down   Down    145.03 KB       100.00%             85070591730234615865843651857942052864      
> 10.174.23.34    Analytics   rack1       Analytics(TT)   Down   Down    158.88 KB       100.00%             127605887595351923798765477786913079296
> {noformat}
> {noformat}
> Keyspace: cfs:
>   Replication Strategy: org.apache.cassandra.locator.NetworkTopologyStrategy
>   Durable Writes: true
>     Options: [analytics:4]
> {noformat}
> Reading from CFS with LOCAL_QUORUM:
> {noformat}
> automaton@ip-10-171-69-238:~$ dse hadoop fs -lsr /
> 13/04/12 16:18:23 INFO cfs.CassandraFileSystem: CassandraFileSystem.uri : cfs://ip-10-171-69-238.us-west-1.compute.internal/
> 13/04/12 16:18:23 INFO cfs.CassandraFileSystem: Default block size: 67108864
> 13/04/12 16:18:24 INFO cfs.CassandraFileSystemThriftStore: Consistency level for reads from cfs: LOCAL_QUORUM
> 13/04/12 16:18:24 INFO cfs.CassandraFileSystemThriftStore: Consistency level for writes into cfs: LOCAL_QUORUM
> 13/04/12 16:18:24 INFO cfs.CassandraFileSystemRules: Successfully loaded path rules for: cfs
> -rwxrwxrwx   1 automaton automaton         10 2013-04-12 15:42 /tf1
> -rwxrwxrwx   1 automaton automaton         10 2013-04-12 15:49 /tf10
> -rwxrwxrwx   1 automaton automaton         10 2013-04-12 15:43 /tf2
> -rwxrwxrwx   1 automaton automaton         10 2013-04-12 15:43 /tf3
> -rwxrwxrwx   1 automaton automaton         10 2013-04-12 15:43 /tf4
> -rwxrwxrwx   1 automaton automaton         10 2013-04-12 15:46 /tf5
> -rwxrwxrwx   1 automaton automaton         10 2013-04-12 15:46 /tf6
> -rwxrwxrwx   1 automaton automaton         10 2013-04-12 15:47 /tf7
> -rwxrwxrwx   1 automaton automaton         10 2013-04-12 15:47 /tf8
> -rwxrwxrwx   1 automaton automaton         10 2013-04-12 15:49 /tf9
> drwxrwxrwx   - automaton automaton          0 2013-04-12 15:36 /tmp
> drwxrwxrwx   - automaton automaton          0 2013-04-12 15:36 /tmp/hadoop-automaton
> drwxrwxrwx   - automaton automaton          0 2013-04-12 15:36 /tmp/hadoop-automaton/mapred
> drwx------   - automaton automaton          0 2013-04-12 15:36 /tmp/hadoop-automaton/mapred/system
> -rwxrwxrwx   1 automaton automaton          4 2013-04-12 15:36 /tmp/hadoop-automaton/mapred/system/jobtracker.info
> {noformat}
> Now exactly the same with QUORUM:
> {noformat}
> automaton@ip-10-171-69-238:~$ dse hadoop fs -lsr /
> 13/04/12 16:19:21 INFO cfs.CassandraFileSystem: CassandraFileSystem.uri : cfs://ip-10-171-69-238.us-west-1.compute.internal/
> 13/04/12 16:19:21 INFO cfs.CassandraFileSystem: Default block size: 67108864
> 13/04/12 16:19:22 INFO cfs.CassandraFileSystemThriftStore: Consistency level for reads from cfs: QUORUM
> 13/04/12 16:19:22 INFO cfs.CassandraFileSystemThriftStore: Consistency level for writes into cfs: QUORUM
> 13/04/12 16:19:22 INFO cfs.CassandraFileSystemRules: Successfully loaded path rules for: cfs
> lsr: UnavailableException()
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)