cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Yaskevich (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-2624) SimpleStrategy w/o replication_factor
Date Tue, 10 May 2011 18:25:47 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-2624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pavel Yaskevich updated CASSANDRA-2624:
---------------------------------------

    Comment: was deleted

(was: {noformat}
   [javac] /Users/povel/work/java/cassandra-trunk/src/java/org/apache/cassandra/cql/QueryProcessor.java:663:
validateKsDef(org.apache.cassandra.thrift.KsDef) is not public in org.apache.cassandra.thrift.ThriftValidation;
cannot be accessed from outside package
    [javac]                     ThriftValidation.validateKsDef(ksd);
    [javac]                                     ^
    [javac] /Users/povel/work/java/cassandra-trunk/src/java/org/apache/cassandra/cql/QueryProcessor.java:664:
cannot find symbol
    [javac] symbol  : method fromThrift(org.apache.cassandra.thrift.KsDef)
    [javac] location: class org.apache.cassandra.config.KSMetaData
    [javac]                     applyMigrationOnStage(new AddKeyspace(KSMetaData.fromThrift(ksd)));
{noformat})

> SimpleStrategy w/o replication_factor
> -------------------------------------
>
>                 Key: CASSANDRA-2624
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2624
>             Project: Cassandra
>          Issue Type: Bug
>          Components: API, Tools
>    Affects Versions: 0.8.0 beta 2
>            Reporter: Eric Evans
>             Fix For: 0.8.0
>
>         Attachments: 2624-v2.txt, 2624.txt
>
>
> It is possible to create a new keyspace using {{SimpleStrategy}} _without_ specifying
the {{replication_factor}} option.  Things get more interesting if you shut the node down,
since it will refuse to restart (throwing a {{ConfigurationException}}).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message