Closed rhaist closed 3 years ago
Hello @rhaist Thanks for this PR, I'm going to merge it ans give it a try ;)
@all-contributors please add @rhaist for code
@nadouani
I've put up a pull request to add @rhaist! :tada:
@rhaist currently I am getting
thehive4 | [info] c.d.d.c.ClockFactory [|] Using native clock to generate timestamps.
thehive4 | [info] c.d.d.c.p.DCAwareRoundRobinPolicy [|] Using provided data-center name 'datacenter1' for DCAwareRoundRobinPolicy
thehive4 | [info] c.d.d.c.Cluster [|] New Cassandra host scylladb/172.18.0.3:9042 added
thehive4 | [info] o.j.g.i.UniqueInstanceIdRetriever [|] Generated unique-instance-id=ac1200046-4941b21e06c75
thehive4 | [info] c.d.d.c.ClockFactory [|] Using native clock to generate timestamps.
thehive4 | [info] c.d.d.c.p.DCAwareRoundRobinPolicy [|] Using provided data-center name 'datacenter1' for DCAwareRoundRobinPolicy
thehive4 | [info] c.d.d.c.Cluster [|] New Cassandra host scylladb/172.18.0.3:9042 added
thehive4 | [info] o.j.d.Backend [|] Configuring index [search]
thehive4 | [warn] o.t.s.u.Retry [|] An error occurs (Could not instantiate implementation: org.janusgraph.diskstorage.lucene.LuceneIndex), retrying (9)
thehive4 | [info] c.d.d.c.ClockFactory [|] Using native clock to generate timestamps.
thehive4 | [info] c.d.d.c.p.DCAwareRoundRobinPolicy [|] Using provided data-center name 'datacenter1' for DCAwareRoundRobinPolicy
thehive4 | [info] c.d.d.c.Cluster [|] New Cassandra host scylladb/172.18.0.3:9042 added
thehive4 | [info] o.j.g.i.UniqueInstanceIdRetriever [|] Generated unique-instance-id=ac1200046-4941b21e06c76
thehive4 | [info] c.d.d.c.ClockFactory [|] Using native clock to generate timestamps.
thehive4 | [info] c.d.d.c.p.DCAwareRoundRobinPolicy [|] Using provided data-center name 'datacenter1' for DCAwareRoundRobinPolicy
thehive4 | [info] c.d.d.c.Cluster [|] New Cassandra host scylladb/172.18.0.3:9042 added
thehive4 | [info] o.j.d.Backend [|] Configuring index [search]
How did you solve it?
@garanews are you talking about the (Could not instantiate implementation: org.janusgraph.diskstorage.lucene.LuceneIndex)
error?
yes, this is the only thing appears with warning and the UI is not accessible, so wondering if related
This sound like a permission issue related to the index folder, where TheHive is not able to create the index files
yes, this is the only thing appears with warning and the UI is not accessible, so wondering if related
Are you using 4.1.2 ?
It sounds good! it was a permission issue!
This PR adds an additional docker-compose template using Scylla instead of Cassandra. Scylla adds the benefit of a full CQL driver compatible distributed database with a much lower resource footprint.
As Scylla has been tested with JanusGraph I thought to give it a shot. I started a fresh installation of thehive4 and performed various import tests and could not find any errors in the logs so far.