Comcast / rulio

Rulio
Apache License 2.0
336 stars 59 forks source link

Fix Cassandra storage to support latest Cassandra #41

Open jsccast opened 6 years ago

jsccast commented 6 years ago

Currently, you'll get "unconfigured table locstate" when running against the latest version (3.11.2) of Cassandra.

See #40.

rakesh-roshan commented 6 years ago

I am also getting the same error. You are saying this is the problem with the latest cassandra version. So did any old version is good?

rakesh-roshan commented 6 years ago

There is a problem in the locstate table definition. Nothing to do with cassandra version. I have created a pull request to fix that.

https://github.com/Comcast/rulio/pull/42

maitreytalware commented 6 years ago

I am still getting the same error "unconfigured table locstate", so I manually create the table in Cassandra, now the engine works fine. But when I restart the engine, the engine is not able to search the previously stored facts (they are visible in Cassandra console)

rakesh-roshan commented 6 years ago

Did you pull the latest code? It is working fine for me.

maitreytalware commented 6 years ago

Yes, I did. Can you please restart the engine and search previously stored facts using API

rakesh-roshan commented 6 years ago

I did and it is working fine. In query are you providing correct location value? Can you please dump the location table rows here and query which you are submitting?