You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by "Kazuomi Kashii (JIRA)" <ji...@apache.org> on 2012/07/20 07:19:34 UTC

[jira] [Updated] (GORA-151) CassandraStore's schemaExists() method always returns false

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

Kazuomi Kashii updated GORA-151:
--------------------------------

    Attachment: GORA-151.patch

Checks if keyspace already exists.
                
> CassandraStore's schemaExists() method always returns false
> -----------------------------------------------------------
>
>                 Key: GORA-151
>                 URL: https://issues.apache.org/jira/browse/GORA-151
>             Project: Apache Gora
>          Issue Type: Bug
>          Components: storage-cassandra
>    Affects Versions: 0.2
>            Reporter: Kazuomi Kashii
>             Fix For: 0.3
>
>         Attachments: GORA-151.patch
>
>
> CassandraStore's schemaExisst() method always returns false.
>   public boolean schemaExists() throws IOException {
>     LOG.info("schema exists");
>     return false;
>   }
> It makes gora-cassandra testSchemaExists fail.
> https://issues.apache.org/jira/browse/GORA-53?focusedCommentId=13414694#comment-13414694
> testSchemaExists(org.apache.gora.cassandra.store.TestCassandraStore) Time elapsed: 0.883 sec <<< FAILURE! 
> junit.framework.AssertionFailedError 
>         at junit.framework.Assert.fail(Assert.java:48) 
>         at junit.framework.Assert.assertTrue(Assert.java:20) 
>         at junit.framework.Assert.assertTrue(Assert.java:27) 
>         at org.apache.gora.store.DataStoreTestUtil.testSchemaExists(DataStoreTestUtil.java:131) 
>         at org.apache.gora.store.DataStoreTestBase.testSchemaExists(DataStoreTestBase.java:164)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira