Uploaded image for project: 'Apache Gora'
  1. Apache Gora
  2. GORA-151

CassandraStore's schemaExists() method always returns false

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.2
    • 0.2.1
    • gora-cassandra
    • None

    Description

      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)

      Attachments

        1. GORA-151.patch
          1 kB
          Kazuomi Kashii

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kazk Kazuomi Kashii
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: